Skip to content

Commit

Permalink
add radiance datasets to GERB reader
Browse files Browse the repository at this point in the history
  • Loading branch information
pdebuyl committed Oct 4, 2023
1 parent ee26d37 commit b29ce40
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions satpy/etc/readers/gerb_l2_hr_h5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,17 @@ datasets:
fill_value: -32767
standard_name: toa_outgoing_longwave_flux
file_type: gerb_l2_hr_h5

Solar_Radiance:
name: Solar Radiance
sensor: gerb
units: W m-2
fill_value: -32767
file_type: gerb_l2_hr_h5

Thermal_Radiance:
name: Thermal Radiance
sensor: gerb
units: W m-2
fill_value: -32767
file_type: gerb_l2_hr_h5
2 changes: 1 addition & 1 deletion satpy/tests/reader_tests/test_gerb_l2_hr_h5.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def gerb_l2_hr_h5_dummy_file(tmp_path_factory):
return filename


@pytest.mark.parametrize("name", ["Solar Flux", "Thermal Flux"])
@pytest.mark.parametrize("name", ["Solar Flux", "Thermal Flux", "Solar Radiance", "Thermal Radiance"])
def test_dataset_load(gerb_l2_hr_h5_dummy_file, name):
"""Test loading the solar flux component."""
scene = Scene(reader='gerb_l2_hr_h5', filenames=[gerb_l2_hr_h5_dummy_file])
Expand Down

0 comments on commit b29ce40

Please sign in to comment.