Skip to content

Commit

Permalink
Merge pull request #524 from sfinkens/feature-mtsat
Browse files Browse the repository at this point in the history
Add JMA HRIT readers for MTSAT-1R/2
  • Loading branch information
mraspaud authored Dec 7, 2018
2 parents 8825f67 + 19a304c commit 2c86130
Show file tree
Hide file tree
Showing 8 changed files with 729 additions and 126 deletions.
6 changes: 6 additions & 0 deletions doc/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@ installation.
* - Himawari 8 and 9 AHI data in HRIT format
- `hrit_jma`
- Nominal
* - MTSAT-1R JAMI data in JMA HRIT format
- `jami_hrit`
- Beta
* - MTSAT-2 Imager data in JMA HRIT format
- `mtsat2-imager_hrit`
- Beta
* - GOES 16 imager data in netcdf format
- `abi_l1b`
- Nominal
Expand Down
102 changes: 53 additions & 49 deletions satpy/etc/readers/hrit_jma.yaml → satpy/etc/readers/ahi_hrit.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# References:
# - http://www.data.jma.go.jp/mscweb/en/himawari89/space_segment/spsg_ahi.html
# - http://www.data.jma.go.jp/mscweb/en/himawari89/space_segment/sample_hrit.html

reader:
description: JMA HRIT Reader
name: hrit_jma
name: ahi_hrit
sensors: [ahi]
default_channels: []
reader: !!python/name:satpy.readers.yaml_reader.FileYAMLReader
Expand Down Expand Up @@ -112,9 +116,9 @@ datasets:
reflectance:
standard_name: toa_bidirectional_reflectance
units: "%"
radiance:
standard_name: toa_outgoing_radiance_per_unit_wavelength
units: W m-2 um-1 sr-1
counts:
standard_name: counts
units: 1
file_type: hrit_b01

B02:
Expand All @@ -126,9 +130,9 @@ datasets:
reflectance:
standard_name: toa_bidirectional_reflectance
units: "%"
radiance:
standard_name: toa_outgoing_radiance_per_unit_wavelength
units: W m-2 um-1 sr-1
counts:
standard_name: counts
units: 1
file_type: hrit_b02

B03:
Expand All @@ -140,9 +144,9 @@ datasets:
reflectance:
standard_name: toa_bidirectional_reflectance
units: "%"
radiance:
standard_name: toa_outgoing_radiance_per_unit_wavelength
units: W m-2 um-1 sr-1
counts:
standard_name: counts
units: 1
file_type: hrit_b03

B04:
Expand All @@ -154,9 +158,9 @@ datasets:
reflectance:
standard_name: toa_bidirectional_reflectance
units: "%"
radiance:
standard_name: toa_outgoing_radiance_per_unit_wavelength
units: W m-2 um-1 sr-1
counts:
standard_name: counts
units: 1
file_type: hrit_b04

B05:
Expand All @@ -168,9 +172,9 @@ datasets:
reflectance:
standard_name: toa_bidirectional_reflectance
units: "%"
radiance:
standard_name: toa_outgoing_radiance_per_unit_wavelength
units: W m-2 um-1 sr-1
counts:
standard_name: counts
units: 1
file_type: hrit_b05

B06:
Expand All @@ -182,9 +186,9 @@ datasets:
reflectance:
standard_name: toa_bidirectional_reflectance
units: "%"
radiance:
standard_name: toa_outgoing_radiance_per_unit_wavelength
units: W m-2 um-1 sr-1
counts:
standard_name: counts
units: 1
file_type: hrit_b06

B07:
Expand All @@ -196,9 +200,9 @@ datasets:
brightness_temperature:
standard_name: toa_brightness_temperature
units: "K"
radiance:
standard_name: toa_outgoing_radiance_per_unit_wavelength
units: W m-2 um-1 sr-1
counts:
standard_name: counts
units: 1
file_type: hrit_b07

B08:
Expand All @@ -210,9 +214,9 @@ datasets:
brightness_temperature:
standard_name: toa_brightness_temperature
units: "K"
radiance:
standard_name: toa_outgoing_radiance_per_unit_wavelength
units: W m-2 um-1 sr-1
counts:
standard_name: counts
units: 1
file_type: hrit_b08

B09:
Expand All @@ -224,9 +228,9 @@ datasets:
brightness_temperature:
standard_name: toa_brightness_temperature
units: "K"
radiance:
standard_name: toa_outgoing_radiance_per_unit_wavelength
units: W m-2 um-1 sr-1
counts:
standard_name: counts
units: 1
file_type: hrit_b09

B10:
Expand All @@ -238,9 +242,9 @@ datasets:
brightness_temperature:
standard_name: toa_brightness_temperature
units: "K"
radiance:
standard_name: toa_outgoing_radiance_per_unit_wavelength
units: W m-2 um-1 sr-1
counts:
standard_name: counts
units: 1
file_type: hrit_b10

B11:
Expand All @@ -252,9 +256,9 @@ datasets:
brightness_temperature:
standard_name: toa_brightness_temperature
units: "K"
radiance:
standard_name: toa_outgoing_radiance_per_unit_wavelength
units: W m-2 um-1 sr-1
counts:
standard_name: counts
units: 1
file_type: hrit_b11

B12:
Expand All @@ -266,9 +270,9 @@ datasets:
brightness_temperature:
standard_name: toa_brightness_temperature
units: "K"
radiance:
standard_name: toa_outgoing_radiance_per_unit_wavelength
units: W m-2 um-1 sr-1
counts:
standard_name: counts
units: 1
file_type: hrit_b12

B13:
Expand All @@ -280,9 +284,9 @@ datasets:
brightness_temperature:
standard_name: toa_brightness_temperature
units: "K"
radiance:
standard_name: toa_outgoing_radiance_per_unit_wavelength
units: W m-2 um-1 sr-1
counts:
standard_name: counts
units: 1
file_type: hrit_b13

B14:
Expand All @@ -294,9 +298,9 @@ datasets:
brightness_temperature:
standard_name: toa_brightness_temperature
units: "K"
radiance:
standard_name: toa_outgoing_radiance_per_unit_wavelength
units: W m-2 um-1 sr-1
counts:
standard_name: counts
units: 1
file_type: hrit_b14

B15:
Expand All @@ -308,9 +312,9 @@ datasets:
brightness_temperature:
standard_name: toa_brightness_temperature
units: "K"
radiance:
standard_name: toa_outgoing_radiance_per_unit_wavelength
units: W m-2 um-1 sr-1
counts:
standard_name: counts
units: 1
file_type: hrit_b15

B16:
Expand All @@ -322,7 +326,7 @@ datasets:
brightness_temperature:
standard_name: toa_brightness_temperature
units: "K"
radiance:
standard_name: toa_outgoing_radiance_per_unit_wavelength
units: W m-2 um-1 sr-1
counts:
standard_name: counts
units: 1
file_type: hrit_b16
122 changes: 122 additions & 0 deletions satpy/etc/readers/jami_hrit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
# References:
# - https://www.wmo-sat.info/oscar/instruments/view/236
# - http://www.data.jma.go.jp/mscweb/notice/Himawari7_e.html
#
# Note that the there exist two versions of the dataset. A segmented (data
# split into multiple files) and a non-segmented version (all data in one
# file).

reader:
description: Reader for MTSAT-1R JAMI data in JMA HRIT Format
name: jami_hrit
sensors: [jami]
default_channels: []
reader: !!python/name:satpy.readers.yaml_reader.FileYAMLReader

file_types:
hrit_vis:
file_reader: !!python/name:satpy.readers.hrit_jma.HRITJMAFileHandler
file_patterns:
- 'IMG_DK{area:02d}VIS_{start_time:%Y%m%d%H%M}_{segment:03d}'
- 'IMG_DK{area:02d}VIS_{start_time:%Y%m%d%H%M}'
- 'HRIT_MTSAT1_{start_time:%Y%m%d_%H%M}_DK{area:02d}VIS'

hrit_ir1:
file_reader: !!python/name:satpy.readers.hrit_jma.HRITJMAFileHandler
file_patterns:
- 'IMG_DK{area:02d}IR1_{start_time:%Y%m%d%H%M}_{segment:03d}'
- 'IMG_DK{area:02d}IR1_{start_time:%Y%m%d%H%M}'
- 'HRIT_MTSAT1_{start_time:%Y%m%d_%H%M}_DK{area:02d}IR1'

hrit_ir2:
file_reader: !!python/name:satpy.readers.hrit_jma.HRITJMAFileHandler
file_patterns:
- 'IMG_DK{area:02d}IR2_{start_time:%Y%m%d%H%M}_{segment:03d}'
- 'IMG_DK{area:02d}IR2_{start_time:%Y%m%d%H%M}'
- 'HRIT_MTSAT1_{start_time:%Y%m%d_%H%M}_DK{area:02d}IR2'

hrit_ir3:
file_reader: !!python/name:satpy.readers.hrit_jma.HRITJMAFileHandler
file_patterns:
- 'IMG_DK{area:02d}IR3_{start_time:%Y%m%d%H%M}_{segment:03d}'
- 'IMG_DK{area:02d}IR3_{start_time:%Y%m%d%H%M}'
- 'HRIT_MTSAT1_{start_time:%Y%m%d_%H%M}_DK{area:02d}IR3'


hrit_ir4:
file_reader: !!python/name:satpy.readers.hrit_jma.HRITJMAFileHandler
file_patterns:
- 'IMG_DK{area:02d}IR4_{start_time:%Y%m%d%H%M}_{segment:03d}'
- 'IMG_DK{area:02d}IR4_{start_time:%Y%m%d%H%M}'
- 'HRIT_MTSAT1_{start_time:%Y%m%d_%H%M}_DK{area:02d}IR4'

datasets:
VIS:
name: VIS
sensor: jami
wavelength: [0.55, 0.675, 0.90]
resolution: 1000
calibration:
counts:
standard_name: counts
units: 1
reflectance:
standard_name: toa_bidirectional_reflectance
units: "%"
file_type: hrit_vis

IR1:
name: IR1
sensor: jami
wavelength: [10.3, 10.8, 11.3]
resolution: 4000
calibration:
counts:
standard_name: counts
units: 1
brightness_temperature:
standard_name: toa_brightness_temperature
units: "K"
file_type: hrit_ir1

IR2:
name: IR2
sensor: jami
wavelength: [11.5, 12.0, 12.5]
resolution: 4000
calibration:
counts:
standard_name: counts
units: 1
brightness_temperature:
standard_name: toa_brightness_temperature
units: "K"
file_type: hrit_ir2

IR3:
name: IR3
sensor: jami
wavelength: [6.5, 6.75, 7.0]
resolution: 4000
calibration:
counts:
standard_name: counts
units: 1
brightness_temperature:
standard_name: toa_brightness_temperature
units: "K"
file_type: hrit_ir3

IR4:
name: IR4
sensor: jami
wavelength: [3.5, 3.75, 4.0]
resolution: 4000
calibration:
counts:
standard_name: counts
units: 1
brightness_temperature:
standard_name: toa_brightness_temperature
units: "K"
file_type: hrit_ir4
Loading

0 comments on commit 2c86130

Please sign in to comment.