-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ENH: updates GNSS tec documentation, methods testing #58
Conversation
Improved the general load routine's definition of the meta data.
Replaced the VTEC figure while creating example text.
Updated the definitions of the VTEC metadata to remove load warnings.
Added an example for plotting VTEC maps to the docs.
Added unit tests for the GNSS methods routines.
Added description of these changes to the changelog.
Improved the style by removing unused imports and variables, as well as cleaning up whitespace.
Updated the test class style by adding a class type and a `return` statement to all methods.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @aburrell!
meta.labels.min_val: np.nan, meta.labels.max_val: np.nan} | ||
meta['gdalt'] = {meta.labels.min_val: 0.0, meta.labels.max_val: np.nan} | ||
meta['gdlat'] = {meta.labels.min_val: -90.0, meta.labels.max_val: 90.0} | ||
min_lon = 0.0 if data['glon'].values.min() >= 0.0 else -180.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do the longitudes differ across files?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not yet... but it seemed silly to not check for something that varies regularly from file iteration to file iteration and is very simple to verify.
Not required, and it probably makes the example too complicated for the docs, but |
Added `plt.show()` to a plotting example. Co-authored-by: Russell Stoneback <rstoneba@utdallas.edu>
Fixed a bug in the download example. Co-authored-by: Russell Stoneback <rstoneba@utdallas.edu>
Yeah, I decided against it because I didn't want to figure out carteopy or get carteopy questions in the future 🗺️ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @aburrell!
Description
Improves the GNSS methods testing, adds a TEC example, and expands general Madrigal metadata definitions. Also fully defines the GNSS VTEC metadata. Partially addresses #3 and #41.
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Created an example in the docs and added unit tests. You should also now receive no warning when loading VTEC data.
Test Configuration
Checklist:
develop
(notmain
) branchCHANGELOG.md
, summarizing the changesIf this is a release PR, replace the first item of the above checklist with the
release checklist on the pysat wiki:
https://github.com/pysat/pysat/wiki/Checklist-for-Release