Skip to content

Commit

Permalink
Answer to codescene request n°3.
Browse files Browse the repository at this point in the history
  • Loading branch information
lperier committed Oct 15, 2024
1 parent b07d8a8 commit e4d53b7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
14 changes: 8 additions & 6 deletions satpy/etc/readers/msg_netcdficare.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ file_types:

MSG1km :
file_reader: !!python/name:satpy.readers.geos_netcdficare.NETCDF_ICARE
file_patterns: [ 'Mmultic1kmNC4_{platform_shortname:5s}_{start_time:%Y%m%d%H%M}.nc',
'Imultic1kmNC4_{platform_shortname:5s}_{start_time:%Y%m%d%H%M}.nc',
'Mrsmultic1kmNC4_{platform_shortname:5s}_{start_time:%Y%m%d%H%M}.nc',
'Mmultic1kmNC4_{platform_shortname:5s}_{start_time:%Y%m%d_%H%M}.nc',
'Imultic1kmNC4_{platform_shortname:5s}_{start_time:%Y%m%d_%H%M}.nc',
'Mrsmultic1kmNC4_{platform_shortname:5s}_{start_time:%Y%m%d_%H%M}.nc']
file_patterns: ['Mmultic1kmNC4_{platform_shortname:5s}_{start_time:%Y%m%d%H%M}.nc',
'Imultic1kmNC4_{platform_shortname:5s}_{start_time:%Y%m%d%H%M}.nc',
'Mrsmultic1kmNC4_{platform_shortname:5s}_{start_time:%Y%m%d%H%M}.nc',
'Mmultic1kmNC4_{platform_shortname:5s}_{start_time:%Y%m%d_%H%M}.nc',
'Imultic1kmNC4_{platform_shortname:5s}_{start_time:%Y%m%d_%H%M}.nc',
'Mrsmultic1kmNC4_{platform_shortname:5s}_{start_time:%Y%m%d_%H%M}.nc']
# platform_shortname:5s : msg01, ..., msg04

datasets:
Expand Down Expand Up @@ -170,3 +170,5 @@ datasets:
standard_name: brightness_temperature
units: "K"
file_type: MSG3km


2 changes: 1 addition & 1 deletion satpy/tests/reader_tests/test_geos_netcdficare.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def init(self, tmp_path) :
"""
A fake netcdf is built.
A scene is built with the reader to be tested, applied to this netcdf.
Called by test_geos_netcdficare().
Called by test_geosNetcdficare().
"""
self.netcdfName = tmp_path / "Mmultic3kmNC4_msg03_202406281000.nc"
self.filepath = tmp_path
Expand Down

0 comments on commit e4d53b7

Please sign in to comment.