-
Notifications
You must be signed in to change notification settings - Fork 303
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
Clarify documentation of orbital_parameters metadata #950
Conversation
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.
Nice job. Commented on a few typos but otherwise I have one main question/point:
I just merged the AMI reader where I made satellite_actual_altitude
to be in kilometers. This is likely because I was matching ABI's reader. From what I could tell though this needed to be this way for pyorbital to work correctly in the composites (for generating angles). Could you merge with master (if you don't already have the AMI reader) and fix the kilometer conversion? Could you also verify that pyorbital's angle generation code in the compositors doesn't need kilometers?
Codecov Report
@@ Coverage Diff @@
## master #950 +/- ##
==========================================
+ Coverage 85.92% 86.05% +0.12%
==========================================
Files 174 174
Lines 26452 26520 +68
==========================================
+ Hits 22730 22822 +92
+ Misses 3722 3698 -24
Continue to review full report at Codecov.
|
@djhoese @martin I updated the AMI reader and the compositors. Two things I'm not sure about:
|
|
Sorry not very precise. I meant |
I think this was copied from the older version of the pyspectral rayleigh corrector. I think this class is meant as an option for VIIRS/MODIS rayleigh correction (it is what my Polar2Grid project uses), but we also played around with it for ABI/AHI (as a test for my Geo2Grid software). So the get_angles there should match whatever ABI/AHI would have. In normal cases Only other thing I could think of would be the VIIRS compact reader if they don't include the angles in the data files. |
@djhoese Ok, thanks for the explanation! I've updated |
Nevermind, I'll do that. Then I learn something about composites. |
Ok, I checked the |
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.
Just one more line :)
Clarify documentation of
orbital_parameters
metadata, as discussed in #922. I also checked the altitude units inabi_l1b
,ahi_hsd
,goes_imager*
,hrit_jma
,seviri_l1b*
andelectrol_hrit
. Except forabi_l1b
which is in km, they are all in meters. So I changed the units to meters inabi_l1b
. Not sure how many users would be affected by this change. If a lot, I could instead add a user warning that the units will be changed in the next release or so.flake8 satpy