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 all 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
28 changes: 28 additions & 0 deletions satpy/etc/readers/mirs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
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]
data_files:
- url: "https://zenodo.org/record/4472664/files/limbcoef_atmsland_noaa20.txt"
djhoese marked this conversation as resolved.
Show resolved Hide resolved
known_hash: "08a3b7c1594a963610dd864b7ecd12f0ab486412d35185c2371d924dd92c5779"
- url: "https://zenodo.org/record/4472664/files/limbcoef_atmsland_snpp.txt"
known_hash: "4b01543699792306711ef1699244e96186487e8a869e4ae42bf1f0e4d00fd063"
- url: "https://zenodo.org/record/4472664/files/limbcoef_atmssea_noaa20.txt"
known_hash: "6853d0536b11c31dc130ab12c61fa322a76d3823a4b8ff9a18a0ecedbf269a88"
- url: "https://zenodo.org/record/4472664/files/limbcoef_atmssea_snpp.txt"
known_hash: "d0f806051b80320e046bdae6a9b68616152bbf8c2dbf3667b9834459259c0d72"

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'
metop_amsu:
file_reader: !!python/name:satpy.readers.mirs.MiRSL2ncHandler
file_patterns:
- 'IMG_SX.{platform_shortname}.D{start_time:%y%j.S%H%M}.E{end_time:%H%M}.B{num}.WE.HR.ORB.nc'

datasets: {}
Loading