Skip to content

Commit

Permalink
Merge pull request #114 from pysat/main
Browse files Browse the repository at this point in the history
Update develop with v0.3.4
  • Loading branch information
jklenzing committed Jun 22, 2023
2 parents 4859e5c + 2a4a154 commit 0ba6e78
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.9"]
python-version: ["3.11"]

name: Documentation tests
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pip_rc_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
fail-fast: false
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
python-version: ["3.10"] # Keep this version at the highest supported Python version
python-version: ["3.11"] # Keep this version at the highest supported Python version

name: Python ${{ matrix.python-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
Expand Down
1 change: 1 addition & 0 deletions .zenodo.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"orcid": "0000-0002-8191-4765"
},
{
"affiliation": "Universities Space Research Association, Goddard Space Flight Center",
"name": "Bhaneja, Preeti",
"orcid": "0000-0003-4900-2747"
}
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](https://semver.org/).

## [0.3.4] - 2023-XX-XX
## [0.3.4] - 2023-06-22
* Add support for skyfield propagation
* Maintenance
* Update pytest syntax
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[build-system]
requires = ["setuptools", "pip >= 10"]
requires = ["setuptools >= 38.6", "pip >= 10"]
build-backend = "setuptools.build_meta"

[project]
name = "pysatMissions"
version = "0.3.4"
description = "Mission Planning toolkit for pysat"
readme = "README.md"
requires-python = ">=3.8"
requires-python = ">=3.9"
license = {file = "LICENSE"}
authors = [
{name = "Jeff Klenzing", email = "pysat.developers@gmail.com"}
Expand All @@ -21,9 +21,9 @@ classifiers = [
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows"
Expand Down
4 changes: 2 additions & 2 deletions pysatMissions/instruments/missions_skyfield.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ def load(fnames, tag=None, inst_id=None, tle1=None, tle2=None,
----------
fnames : list-like collection
File name that contains date in its name.
tag : string
tag : str
Identifies a particular subset of satellite data
inst_id : string
inst_id : str
Instrument satellite ID (accepts '' or a number (i.e., '10'), which
specifies the number of seconds to simulate the satellite)
(default='')
Expand Down
6 changes: 3 additions & 3 deletions pysatMissions/tests/test_methods_spacecraft.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,23 +98,23 @@ def test_add_ram_pointing_sc_attitude_vectors(self):
self.testInst.custom_attach(mm_sc.add_ram_pointing_sc_attitude_vectors)
self.testInst.load(date=self.reftime)

# Xhat vector should match velocity
# X-hat vector should match velocity
assert np.all(self.testInst['sc_xhat_ecef_x']
== self.testInst['velocity_ecef_x'])
assert np.all(self.testInst['sc_xhat_ecef_y']
== self.testInst['velocity_ecef_y'])
assert np.all(self.testInst['sc_xhat_ecef_z']
== self.testInst['velocity_ecef_z'])

# Zhat vector should match - position
# Z-hat vector should match - position
assert np.all(self.testInst['sc_zhat_ecef_x']
== -self.testInst['position_ecef_x'])
assert np.all(self.testInst['sc_zhat_ecef_y']
== -self.testInst['position_ecef_y'])
assert np.all(self.testInst['sc_zhat_ecef_z']
== -self.testInst['position_ecef_z'])

# Yhat vector should be orthogonal
# Y-hat vector should be orthogonal
assert np.all(self.testInst['sc_yhat_ecef_x']
== [0.0, 0.0, 1.0, 0.0, 0.0, -1.0])
assert np.all(self.testInst['sc_yhat_ecef_y']
Expand Down
13 changes: 0 additions & 13 deletions setup.py

This file was deleted.

0 comments on commit 0ba6e78

Please sign in to comment.