-
Notifications
You must be signed in to change notification settings - Fork 5
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
update TEMPEST converter for uplifted data #1610
Conversation
… to update TEMPEST as well
@ashley314 think this should work in general... I disabled the QC (not ideal) as I think my sample file was from a period of blackout. the international space station (ISS) has a lot of activities and various obstructions and periods of outage unique from free flying spacecraft. So will try this for a few more dates and try to see if indeed the sample file is from an inconvenient period |
Thank you! I will try it out with TEMPEST and COWVR today |
I am still getting the following error using data from 2025-01-24.
|
src/hdf5/cowvr_hdf5_2ioda.py
Outdated
obs_data[('solarZenithAngle', metaDataName)] = np.array(f['Geolocation']['sat_solar_zen'], dtype='float32') | ||
obs_data[('solarAzimuthAngle', metaDataName)] = np.array(f['Geolocation']['sat_solar_az'], dtype='float32') | ||
obs_data[('sensorZenithAngle', metaDataName)] = np.array(f['Geolocation']['earth_inc_ang'], dtype='float32') | ||
obs_data[('sensorAzimuthAngle', metaDataName)] = np.array(f['Geolocation']['earth_az_ang'], dtype='float32') | ||
obs_data[('sensorViewAngle', metaDataName)] = compute_scan_angle( | ||
np.array(f['GeolocationAndFlags']['instr_scan_ang'], dtype='float32'), |
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.
Does this need to be updated to np.array(f['Geolocation']['instr_scan_ang'], dtype='float32'),
?
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.
I updated this line and got the converter to successfully run for TEMPEST and COWVR. Thanks!
@ashley314 did you do Jan2025 (or 2024) both of those dates believe the instruments was essentially off I'm running May2024 and timed out on the first conversion (converted 6 of 7)... notice the files are not much smaller than the original:
now running with the
|
Awesome! Thank you! I will give it a shot as well. |
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.
This is working for COWVR and TEMPEST using https://github.com/JCSDA-internal/skylab/pull/664 and https://github.com/JCSDA-internal/ewok/pull/1097/. Thanks!
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 @BenjaminRuston this worked for me
Description
The TEMPEST data has been uplifted and is available via NASA Earthdata
Issue(s) addressed
Resolves #1609
Impact
Expected impact on downstream repositories:
enables
https://github.com/JCSDA-internal/ewok/pull/1097
https://github.com/JCSDA-internal/skylab/pull/664
Checklist