Skip to content

Commit

Permalink
Merge pull request #3044 from pnuu/feature-more-viirs-edr-datasets
Browse files Browse the repository at this point in the history
  • Loading branch information
djhoese authored Jan 31, 2025
2 parents 3990f37 + 0a734ba commit db0566a
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 2 deletions.
1 change: 1 addition & 0 deletions doc/rtd_environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ dependencies:
- platformdirs
- dask
- dask-image
- dask-expr
- defusedxml
- donfig
# 2.19.1 seems to cause library linking issues
Expand Down
28 changes: 28 additions & 0 deletions satpy/etc/readers/viirs_edr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,34 @@ file_types:
file_reader: !!python/name:satpy.readers.viirs_edr.VIIRSLSTHandler
file_patterns:
- 'LST_{version}_{platform_shortname}_s{start_time:%Y%m%d%H%M%S%f}_e{end_time:%Y%m%d%H%M%S%f}_c{creation_time}.nc'
jrr_cloudbase:
file_reader: !!python/name:satpy.readers.viirs_edr.VIIRSJRRFileHandler
file_patterns:
- 'JRR-CloudBase_{version}_{platform_shortname}_s{start_time:%Y%m%d%H%M%S%f}_e{end_time:%Y%m%d%H%M%S%f}_c{creation_time}.nc'
jrr_clouddcomp:
file_reader: !!python/name:satpy.readers.viirs_edr.VIIRSJRRFileHandler
file_patterns:
- 'JRR-CloudDCOMP_{version}_{platform_shortname}_s{start_time:%Y%m%d%H%M%S%f}_e{end_time:%Y%m%d%H%M%S%f}_c{creation_time}.nc'
jrr_cloudncomp:
file_reader: !!python/name:satpy.readers.viirs_edr.VIIRSJRRFileHandler
file_patterns:
- 'JRR-CloudNCOMP_{version}_{platform_shortname}_s{start_time:%Y%m%d%H%M%S%f}_e{end_time:%Y%m%d%H%M%S%f}_c{creation_time}.nc'
jrr_cloudlayers:
file_reader: !!python/name:satpy.readers.viirs_edr.VIIRSJRRFileHandler
file_patterns:
- 'JRR-CloudCoverLayers_{version}_{platform_shortname}_s{start_time:%Y%m%d%H%M%S%f}_e{end_time:%Y%m%d%H%M%S%f}_c{creation_time}.nc'
jrr_cloudphase:
file_reader: !!python/name:satpy.readers.viirs_edr.VIIRSJRRFileHandler
file_patterns:
- 'JRR-CloudPhase_{version}_{platform_shortname}_s{start_time:%Y%m%d%H%M%S%f}_e{end_time:%Y%m%d%H%M%S%f}_c{creation_time}.nc'
jrr_iceconcentration:
file_reader: !!python/name:satpy.readers.viirs_edr.VIIRSJRRFileHandler
file_patterns:
- 'JRR-IceConcentration_{version}_{platform_shortname}_s{start_time:%Y%m%d%H%M%S%f}_e{end_time:%Y%m%d%H%M%S%f}_c{creation_time}.nc'
jrr_iceage:
file_reader: !!python/name:satpy.readers.viirs_edr.VIIRSJRRFileHandler
file_patterns:
- 'JRR-IceAge_{version}_{platform_shortname}_s{start_time:%Y%m%d%H%M%S%f}_e{end_time:%Y%m%d%H%M%S%f}_c{creation_time}.nc'


datasets:
Expand Down
4 changes: 2 additions & 2 deletions satpy/readers/satpy_cf_nc.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@
''AVHRR-GAC_FDR_1C_{platform}_{start_time:%Y%m%dT%H%M%SZ}_{end_time:%Y%m%dT%H%M%SZ}_{processing_mode}_{disposition_mode}_{creation_time}_{version_int:04d}.nc'
Example:
--------
**Example**:
Here is an example how to read the data in satpy:
.. code-block:: python
Expand Down

0 comments on commit db0566a

Please sign in to comment.