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
Add information to Quickstart on basics of getting measurement values and navigation #1018
Add information to Quickstart on basics of getting measurement values and navigation #1018
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1018 +/- ##
==========================================
+ Coverage 87.37% 87.37% +<.01%
==========================================
Files 183 183
Lines 28179 28181 +2
==========================================
+ Hits 24620 24622 +2
Misses 3559 3559
Continue to review full report at Codecov.
|
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 for taking the time, this is useful information indeed.
I just think a couple of points should be added here.
doc/source/quickstart.rst
Outdated
>>> vis006_slice_meas = vis006_slice.values | ||
>>> vis006_slice_lon, vis006_slice_lat = vis006_slice.attrs['area'].get_lonlats() | ||
|
||
To subset multi-resolution data, use the `.crop` function. |
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.
Can you make this a link to the crop
method ?
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.
You should be able to do:
:meth:`~satpy.scene.Scene.crop`
The ~
will make it only say "crop" in the actual text.
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.
Added.
Some users just want easy access to the measurement data, and more often than not, lat/lon arrays corresponding to them. This PR adds some basic documentation on calculating measurement values (BT, reflectance, etc), latitude and longitude arrays, and basic bbox and area slicing using the scene.
AUTHORS.md
if not there already