Skip to content

Commit

Permalink
Merge pull request #2537 from YouvaEUMex/YA/BUFR/SEVIRI/MOD
Browse files Browse the repository at this point in the history
  • Loading branch information
djhoese committed Aug 7, 2023
2 parents 3a84a3b + 15f5e86 commit f74d4d6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions satpy/etc/readers/seviri_l2_bufr.yaml
Expand Up @@ -62,7 +62,7 @@ datasets:

latitude:
name: latitude
key: 'latitude'
key: '#1#latitude'
long_name: Latitude
standard_name: latitude
resolution: [48006.450653072,9001.209497451,72009.675979608]
Expand All @@ -72,7 +72,7 @@ datasets:

longitude:
name: longitude
key: 'longitude'
key: '#1#longitude'
resolution: [48006.450653072,9001.209497451,72009.675979608]
file_type: [seviri_l2_bufr_asr,seviri_l2_bufr_cla,seviri_l2_bufr_csr,seviri_l2_bufr_gii,seviri_l2_bufr_thu,seviri_l2_bufr_toz,seviri_l2_bufr_amv]
long_name: Longitude
Expand Down
12 changes: 6 additions & 6 deletions satpy/tests/reader_tests/test_seviri_l2_bufr.py
Expand Up @@ -51,13 +51,13 @@

DATASET_INFO_LAT = {
'name': 'latitude',
'key': 'latitude',
'key': '#1#latitude',
'fill_value': -1.e+100
}

DATASET_INFO_LON = {
'name': 'longitude',
'key': 'longitude',
'key': '#1#longitude',
'fill_value': -1.e+100
}

Expand Down Expand Up @@ -128,10 +128,10 @@ def __init__(self, filename, with_adef=False, rect_lon='default'):
# write the bufr test data twice as we want to read in and then concatenate the data in the reader
# 55 id corresponds to METEOSAT 8`
ec.codes_set(self.buf1, 'satelliteIdentifier', 56)
ec.codes_set_array(self.buf1, 'latitude', LAT)
ec.codes_set_array(self.buf1, 'latitude', LAT)
ec.codes_set_array(self.buf1, 'longitude', LON)
ec.codes_set_array(self.buf1, 'longitude', LON)
ec.codes_set_array(self.buf1, '#1#latitude', LAT)
ec.codes_set_array(self.buf1, '#1#latitude', LAT)
ec.codes_set_array(self.buf1, '#1#longitude', LON)
ec.codes_set_array(self.buf1, '#1#longitude', LON)
ec.codes_set_array(self.buf1, '#1#brightnessTemperature', DATA)
ec.codes_set_array(self.buf1, '#1#brightnessTemperature', DATA)

Expand Down

0 comments on commit f74d4d6

Please sign in to comment.