Skip to content

Commit

Permalink
Merge pull request #40 from nsidc/add_f17_bt_params_trey
Browse files Browse the repository at this point in the history
Adjust typing for nt param functions expecting a `ValidSatellite`.
  • Loading branch information
trey-stafford authored Jan 25, 2024
2 parents 5fbded0 + 05de629 commit 7750697
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pm_icecon/nt/params/nsidc0001.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
def get_0001_nt_params(
*,
hemisphere: Hemisphere,
platform: ValidSatellites,
platform: ValidSatellites | str,
) -> NasateamParams:
nt_tiepoints = get_tiepoints(satellite=platform, hemisphere=hemisphere)

Expand Down
2 changes: 1 addition & 1 deletion pm_icecon/nt/tiepoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ class TiePoints(TypedDict):

def get_tiepoints(
*,
satellite: ValidSatellites,
satellite: ValidSatellites | str,
hemisphere: Hemisphere,
) -> NasateamTiePoints:
"""Given a satellite and hemisphere, return pre-defined tiepoints."""
Expand Down

0 comments on commit 7750697

Please sign in to comment.