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 a reader for FY-4A AGRI level 1 data #751

Merged
merged 43 commits into from
Aug 8, 2019
Merged
Show file tree
Hide file tree
Changes from 24 commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
ee5b58e
Add yaml and py file of FY-4A
zxdawn May 6, 2019
f87c760
edit py file according to coding guidelines
zxdawn May 6, 2019
d6d1855
add spaces before inline comment
zxdawn May 6, 2019
c09e3d5
delete trailing spaces
zxdawn May 6, 2019
06ee78e
change copyright date and set units within calibration
zxdawn May 7, 2019
af49fbe
add my name to AUTHORS.md
zxdawn May 7, 2019
8b402b0
Merge branch 'master' into add_fy4a
zxdawn May 8, 2019
7d418d5
add FY-4A agri_l1 entry
zxdawn May 8, 2019
cf708e3
correct name and add lut_key
zxdawn May 8, 2019
4172529
correct name, add attrs and keep data lazy
zxdawn May 8, 2019
9fa62e1
add name to AUTHORS.md
zxdawn May 26, 2019
caa9c43
bugfix: wrong index of cal_coef
zxdawn May 26, 2019
7856120
use index_max as filter instead of fillvalue:
zxdawn May 28, 2019
2a2f14f
bugfix: check the wrong file for a given band
zxdawn Jun 14, 2019
0eeae8b
delete Trailing spaces
zxdawn Jun 14, 2019
6e395d9
bugfix: ignore the Chinese character in long_name
zxdawn Jun 26, 2019
0ec8fee
add test file for agri_l1
zxdawn Jun 26, 2019
0b766e2
add author and source
zxdawn Jun 26, 2019
e33e6ca
fix code style
zxdawn Jun 26, 2019
4270955
fix code style
zxdawn Jun 26, 2019
8039366
fix code style
zxdawn Jun 26, 2019
e1559ca
set the correct decoding method for Chinese character
zxdawn Jun 26, 2019
d1115fb
Merge remote-tracking branch 'upstream/master' into add_fy4a
zxdawn Jun 27, 2019
28e7818
add test suite to __init__.py
zxdawn Jun 27, 2019
b2776bd
remove duplicative names
zxdawn Jun 27, 2019
9843b96
remove test for Python2.7
zxdawn Jun 27, 2019
b7c9408
1. add more attrs of satellite;
zxdawn Jun 27, 2019
fec1edb
add new filetype agri_l1_4000m_geo and datasets of GEO file
zxdawn Jun 27, 2019
de47acc
add condition for reading center_wavelength
zxdawn Jun 27, 2019
c00d560
delete comments of value
zxdawn Jun 27, 2019
963ebb4
remove duplicative names
zxdawn Jun 27, 2019
8ea49ef
delete unused package
zxdawn Jun 27, 2019
e1c1dfd
add missing attrs
zxdawn Jun 27, 2019
38bff85
Add composite config file for agri
mraspaud Jun 27, 2019
8fda16b
add agri_l1 to the api docs
zxdawn Jun 28, 2019
90a94cd
bugfix: wrong calibration method
zxdawn Jun 28, 2019
724aa58
standardize header and move metadata to sub-dictionary
zxdawn Jun 28, 2019
9405984
standardize header
zxdawn Jun 28, 2019
414609d
add calibration of Radiance
zxdawn Jun 28, 2019
087b619
fix wrong function name
zxdawn Jun 28, 2019
822827c
keep data lazy
zxdawn Jun 28, 2019
b1195fe
use values instead of DataArray
zxdawn Jun 28, 2019
25db2f5
Merge remote-tracking branch 'upstream/master' into add_fy4a
zxdawn Jun 28, 2019
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
9 changes: 9 additions & 0 deletions AUTHORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,12 @@ The following people have made contributions to this project:
- [hazbottles (hazbottles)](https://github.com/hazbottles)
- [oananicola (oananicola)](https://github.com/oananicola)
- [praerien (praerien)](https://github.com/praerien)
- [ralphk11 (ralphk11)](https://github.com/ralphk11)
- [roquetp (roquetp)](https://github.com/roquetp)
- [sjoro (sjoro)](https://github.com/sjoro)
- Guido della Bruna - meteoswiss
- Marco Sassi - meteoswiss
- [Rohan Daruwala (rdaruwala)](https://github.com/rdaruwala)
- [Simon R. Proud (simonrp84)](https://github.com/simonrp84)
- [Xin Zhang (zxdawn)](https://github.com/zxdawn)
zxdawn marked this conversation as resolved.
Show resolved Hide resolved
- [Joleen Feltz (joleenf)](https://github.com/joleenf)
3 changes: 3 additions & 0 deletions doc/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,9 @@ the base Satpy installation.
* - MERSI-2 L1B data in HDF5 format
- `mersi2_l1b`
- Beta
* - FY-4A AGRI L1 data in HDF5 format
- `agri_l1`
- Beta
* - Vaisala Global Lightning Dataset GLD360 data in ASCII format
- `vaisala_gld360`
- Beta
Expand Down
284 changes: 284 additions & 0 deletions satpy/etc/readers/agri_l1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,284 @@
# References:
# - L1_SDR Data of FY4A Advanced Geostationary Radiation Imager
# - http://fy4.nsmc.org.cn/data/en/data/realtime.html

reader:
name: agri_l1
description: FY-4A AGRI instrument HDF5 reader
sensors: [agri]
default_channels:
reader: !!python/name:satpy.readers.yaml_reader.FileYAMLReader

file_types:
zxdawn marked this conversation as resolved.
Show resolved Hide resolved
agri_l1_0500m:
file_reader: !!python/name:satpy.readers.agri_l1.HDF_AGRI_L1
file_patterns: ['{platform_id:4s}-_{instrument:4s}--_N_{observation_type:s}_{longitude:5s}_L1-_{code:s}-_MULT_{projection:s}_{start_time:%Y%m%d%H%M%S}_{end_time:%Y%m%d%H%M%S}_0500M_{version:s}.HDF']
agri_l1_1000m:
file_reader: !!python/name:satpy.readers.agri_l1.HDF_AGRI_L1
file_patterns: ['{platform_id:4s}-_{instrument:4s}--_N_{observation_type:s}_{longitude:5s}_L1-_{code:s}-_MULT_{projection:s}_{start_time:%Y%m%d%H%M%S}_{end_time:%Y%m%d%H%M%S}_1000M_{version:s}.HDF']
agri_l1_2000m:
file_reader: !!python/name:satpy.readers.agri_l1.HDF_AGRI_L1
file_patterns: ['{platform_id:4s}-_{instrument:4s}--_N_{observation_type:s}_{longitude:5s}_L1-_{code:s}-_MULT_{projection:s}_{start_time:%Y%m%d%H%M%S}_{end_time:%Y%m%d%H%M%S}_2000M_{version:s}.HDF']
agri_l1_4000m:
file_reader: !!python/name:satpy.readers.agri_l1.HDF_AGRI_L1
file_patterns: ['{platform_id:4s}-_{instrument:4s}--_N_{observation_type:s}_{longitude:5s}_L1-_{code:s}-_MULT_{projection:s}_{start_time:%Y%m%d%H%M%S}_{end_time:%Y%m%d%H%M%S}_4000M_{version:s}.HDF']

datasets:
C01:
name: C01
wavelength: [0.45, 0.47, 0.49]
resolution:
1000: {file_type: agri_l1_1000m}
2000: {file_type: agri_l1_2000m}
4000: {file_type: agri_l1_4000m}
calibration:
reflectance:
standard_name: toa_bidirectional_reflectance
units: "%"
counts:
standard_name: counts
units: "1"
file_key: NOMChannel01
lut_key: CALChannel01
fill_value: 65535

C02:
name: C02
wavelength: [0.55, 0.65, 0.75]
resolution:
500: {file_type: agri_l1_0500m}
1000: {file_type: agri_l1_1000m}
2000: {file_type: agri_l1_2000m}
4000: {file_type: agri_l1_4000m}
calibration:
reflectance:
standard_name: toa_bidirectional_reflectance
units: "%"
counts:
standard_name: counts
units: "1"
file_key: NOMChannel02
lut_key: CALChannel02
fill_value: 65535

C03:
name: C03
wavelength: [0.75, 0.83, 0.90]
resolution:
1000: {file_type: agri_l1_1000m}
2000: {file_type: agri_l1_2000m}
4000: {file_type: agri_l1_4000m}
calibration:
reflectance:
standard_name: toa_bidirectional_reflectance
units: "%"
counts:
standard_name: counts
units: "1"
file_key: NOMChannel03
lut_key: CALChannel03
fill_value: 65535

C04:
name: C04
wavelength: [1.36, 1.37, 1.39]
resolution:
2000: {file_type: agri_l1_2000m}
4000: {file_type: agri_l1_4000m}
calibration:
reflectance:
standard_name: toa_bidirectional_reflectance
units: "%"
counts:
standard_name: counts
units: "1"
file_key: NOMChannel04
lut_key: CALChannel04
fill_value: 65535

C05:
name: C05
wavelength: [1.58, 1.61, 1.64]
resolution:
2000: {file_type: agri_l1_2000m}
4000: {file_type: agri_l1_4000m}
calibration:
reflectance:
standard_name: toa_bidirectional_reflectance
units: "%"
counts:
standard_name: counts
units: "1"
file_key: NOMChannel05
lut_key: CALChannel05
fill_value: 65535

C06:
name: C06
wavelength: [2.10, 2.22, 2.35]
resolution:
2000: {file_type: agri_l1_2000m}
4000: {file_type: agri_l1_4000m}
calibration:
reflectance:
standard_name: toa_bidirectional_reflectance
units: "%"
counts:
standard_name: counts
units: "1"
file_key: NOMChannel06
lut_key: CALChannel06
fill_value: 65535

C07:
name: C07
wavelength: [3.5, 3.72, 4.0]
resolution:
2000: {file_type: agri_l1_2000m}
4000: {file_type: agri_l1_4000m}
calibration:
brightness_temperature:
standard_name: toa_brightness_temperature
units: "K"
reflectance:
zxdawn marked this conversation as resolved.
Show resolved Hide resolved
standard_name: toa_bidirectional_reflectance
units: "%"
counts:
standard_name: counts
units: "1"
file_key: NOMChannel07
lut_key: CALChannel07
fill_value: 65535

C08:
name: C08
wavelength: [3.5, 3.72, 4.0]
resolution: 4000
calibration:
brightness_temperature:
standard_name: toa_brightness_temperature
units: "K"
reflectance:
standard_name: toa_bidirectional_reflectance
units: "%"
counts:
standard_name: counts
units: "1"
file_key: NOMChannel08
lut_key: CALChannel08
file_type: agri_l1_4000m
fill_value: 65535

C09:
name: C09
wavelength: [5.8, 6.25, 6.7]
resolution: 4000
calibration:
brightness_temperature:
standard_name: toa_brightness_temperature
units: "K"
reflectance:
standard_name: toa_bidirectional_reflectance
units: "%"
counts:
standard_name: counts
units: "1"
file_key: NOMChannel09
lut_key: CALChannel09
file_type: agri_l1_4000m
fill_value: 65535

C10:
name: C10
wavelength: [6.9, 7.10, 7.3]
resolution: 4000
calibration:
brightness_temperature:
standard_name: toa_brightness_temperature
units: "K"
reflectance:
standard_name: toa_bidirectional_reflectance
units: "%"
counts:
standard_name: counts
units: "1"
file_key: NOMChannel10
lut_key: CALChannel10
file_type: agri_l1_4000m
fill_value: 65535

C11:
name: C11
wavelength: [8.0, 8.5, 9.0]
resolution: 4000
calibration:
brightness_temperature:
standard_name: toa_brightness_temperature
units: "K"
reflectance:
standard_name: toa_bidirectional_reflectance
units: "%"
counts:
standard_name: counts
units: "1"
file_key: NOMChannel11
lut_key: CALChannel11
file_type: agri_l1_4000m
fill_value: 65535

C12:
name: C12
wavelength: [10.3, 10.8, 11.1]
resolution: 4000
calibration:
brightness_temperature:
standard_name: toa_brightness_temperature
units: "K"
reflectance:
standard_name: toa_bidirectional_reflectance
units: "%"
counts:
standard_name: counts
units: "1"
file_key: NOMChannel12
lut_key: CALChannel12
file_type: agri_l1_4000m
fill_value: 65535

C13:
name: C13
wavelength: [11.5, 12.0, 12.5]
resolution: 4000
calibration:
brightness_temperature:
standard_name: toa_brightness_temperature
units: "K"
reflectance:
standard_name: toa_bidirectional_reflectance
units: "%"
counts:
standard_name: counts
units: "1"
file_key: NOMChannel13
lut_key: CALChannel13
file_type: agri_l1_4000m
fill_value: 65535

C14:
name: C14
wavelength: [13.2, 13.5, 13.8]
resolution: 4000
calibration:
brightness_temperature:
standard_name: toa_brightness_temperature
units: "K"
reflectance:
standard_name: toa_bidirectional_reflectance
units: "%"
counts:
standard_name: counts
units: "1"
file_key: NOMChannel14
lut_key: CALChannel14
file_type: agri_l1_4000m
fill_value: 65535
Loading