Skip to content

Commit

Permalink
Merge pull request #2807 from shornqui/vii_reader_fix
Browse files Browse the repository at this point in the history
Update the vii_l1b-reader for new testdata format of VII
  • Loading branch information
mraspaud authored Jun 3, 2024
2 parents 233f698 + c698e31 commit c83b964
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions AUTHORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,4 @@ The following people have made contributions to this project:
- [Yufei Zhu (yufeizhu600)](https://github.com/yufeizhu600)
- [Youva Aoun (YouvaEUMex)](https://github.com/YouvaEUMex)
- [Will Sharpe (wjsharpe)](https://github.com/wjsharpe)
- [Sara Hörnquist (shornqui)](https://github.com/shornqui)
2 changes: 1 addition & 1 deletion satpy/readers/vii_l1b_nc.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def __init__(self, filename, filename_info, filetype_info, **kwargs):
self._bt_conversion_a = self["data/calibration_data/bt_conversion_a"].values
self._bt_conversion_b = self["data/calibration_data/bt_conversion_b"].values
self._channel_cw_thermal = self["data/calibration_data/channel_cw_thermal"].values
self._integrated_solar_irradiance = self["data/calibration_data/Band_averaged_solar_irradiance"].values
self._integrated_solar_irradiance = self["data/calibration_data/band_averaged_solar_irradiance"].values
# Computes the angle factor for reflectance calibration as inverse of cosine of solar zenith angle
# (the values in the product file are on tie points and in degrees,
# therefore interpolation and conversion to radians are required)
Expand Down
2 changes: 1 addition & 1 deletion satpy/tests/reader_tests/test_vii_l1b_nc.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def setUp(self):
bt_b[:] = np.arange(9)
cw = g1_1.createVariable("channel_cw_thermal", np.float32, dimensions=("num_chan_thermal",))
cw[:] = np.arange(9)
isi = g1_1.createVariable("Band_averaged_solar_irradiance", np.float32, dimensions=("num_chan_solar",))
isi = g1_1.createVariable("band_averaged_solar_irradiance", np.float32, dimensions=("num_chan_solar",))
isi[:] = np.arange(11)

# Create measurement_data group
Expand Down

0 comments on commit c83b964

Please sign in to comment.