Skip to content
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 MiRS reader #1511

Merged
merged 33 commits into from
Mar 9, 2021
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
1bd35fb
Add files for MiRS reader takes over for #1285 PR and replaces #1486 PR
joleenf Jan 22, 2021
0b102c4
Remove unused lines
joleenf Jan 27, 2021
b5613fd
Merge branch 'master' of https://github.com/pytroll/satpy into mirs
joleenf Jan 27, 2021
2c7b733
Change name of mirs_l2_nc to mirs
joleenf Feb 3, 2021
59c32b3
Merge branch 'master' of https://github.com/pytroll/satpy into mirs
joleenf Feb 3, 2021
95852a9
Change name of mirs_l2_nc to mirs within code and yaml
joleenf Feb 3, 2021
a0386b6
Merge branch 'master' of https://github.com/pytroll/satpy into mirs
joleenf Feb 16, 2021
7064d39
Remove code that is not used
joleenf Feb 17, 2021
29576d9
Add code to support zenodo data download with pooch
joleenf Feb 17, 2021
188f609
Make counter names more unique and descriptive
joleenf Feb 17, 2021
9c6b0d1
Add known_hash to zenodo files.
joleenf Feb 19, 2021
5168e6f
Changes requested for retrieve of coeffs and application
joleenf Feb 19, 2021
aea1e9e
yield BT metadata in it's own generator.
joleenf Feb 19, 2021
935b518
Remove unused variables and fix some lines DeepCode doesn't like
joleenf Feb 19, 2021
45ce5f3
Move limb_correct_bt
joleenf Feb 20, 2021
7fa7143
BUG FIX (filename not file, but don't need it anyway)
joleenf Feb 21, 2021
346926c
Update map_blocks call without assigning to a numpy array
joleenf Feb 21, 2021
f526e99
Omit extra line and just return da.stack
joleenf Feb 21, 2021
40c0542
Remove else return statement
joleenf Feb 21, 2021
874dd7f
Merge upstream commits
joleenf Feb 21, 2021
0e871d4
BUG FIX: function that map_blocks calls should receive and return num…
joleenf Feb 23, 2021
ac4bccc
Merge branch 'master' of https://github.com/pytroll/satpy into mirs
joleenf Feb 23, 2021
f710028
Be more direct in assigning dims, and name to new corrected btemp arr…
joleenf Feb 24, 2021
0cb3280
Remove dask calls in function that map_blocks calls and reorder code
joleenf Feb 25, 2021
3e5bb3e
Remove xarray coord assignment for corrected bt_data
joleenf Feb 26, 2021
2c6fdad
Remove assignment of coordinates through xarray coord attributes
joleenf Feb 27, 2021
7f68d6c
Add Scanline/FOV dims to RR
joleenf Feb 27, 2021
186f53d
Fix computation of array being sent to through map_blocks
joleenf Mar 3, 2021
0de4ad2
Merge branch 'master' of https://github.com/pytroll/satpy into mirs
joleenf Mar 3, 2021
0b334af
Remove information that is not being processed
joleenf Mar 3, 2021
290fcdc
Fixes to lat/lon dims and data
joleenf Mar 3, 2021
fad34f7
Add mocking for download of data and reading of coefficients
joleenf Mar 5, 2021
e2bdd8b
Remove extra code that only adds one common line to the xarray.Datasets
joleenf Mar 6, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions satpy/etc/readers/mirs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
reader:
description: NetCDF Reader for the Microwave Integrated Retrieval System Level 2 swath products
name: mirs
short_name: MiRS Level 2 NetCDF4
long_name: MiRS Level 2 Swath Product Reader (NetCDF4)
reader: !!python/name:satpy.readers.yaml_reader.FileYAMLReader
sensors: [amsu, amsu-mhs, atms, ssmis, gmi]

file_types:
mirs_atms:
file_reader: !!python/name:satpy.readers.mirs.MiRSL2ncHandler
file_patterns:
- 'NPR-MIRS-IMG_v{version}_{platform_shortname}_s{start_time:%Y%m%d%H%M%S}{extra_num1}_e{end_time:%Y%m%d%H%M%S}{extra_num2}_c{creation_time:%Y%m%d%H%M%S}{extra_num3}.nc'
- 'IMG_SX.{platform_shortname}.D{start_time:%y%j.S%H%M}.E{end_time:%H%M}.B{num}.WE.HR.ORB.nc'

datasets:
rain_rate:
name: RR
long_name: rain_rate
file_key: RR
file_type: mirs_atms
units: mm/hr
coordinates: [longitude, latitude]
sea_ice:
name: SIce
long_name: sea_ice
file_key: SIce
file_type: mirs_atms
coordinates: [longitude, latitude]
units: "%"
snow_cover:
name: Snow
long_name: snow_cover
file_key: Snow
file_type: mirs_atms
coordinates: [longitude, latitude]
units: '1'
tpw:
name: TPW
long_name: total_precipitable_water
file_key: TPW
file_type: mirs_atms
coordinates: [longitude, latitude]
units: mm
swe:
name: SWE
long_name: snow_water_equivalence
file_key: SWE
file_type: mirs_atms
coordinates: [longitude, latitude]
units: cm
Loading