Skip to content

Commit

Permalink
Change area descriptions consistently
Browse files Browse the repository at this point in the history
  • Loading branch information
ameraner committed Nov 29, 2019
1 parent a55b41c commit 68ec7d2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions satpy/readers/seviri_l1b_native.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ def get_area_def(self, dataset_id):
pdict['nlines'] = self.mda['hrv_number_of_lines']
pdict['ncols'] = self.mda['hrv_number_of_columns']
pdict['a_name'] = 'geos_seviri_hrv'
pdict['a_desc'] = 'MSG/SEVIRI high resolution channel area'
pdict['a_desc'] = 'SEVIRI high resolution channel area'
pdict['p_id'] = 'seviri_hrv'

if self.mda['is_full_disk']:
Expand Down Expand Up @@ -288,7 +288,7 @@ def get_area_def(self, dataset_id):
pdict['nlines'] = self.mda['number_of_lines']
pdict['ncols'] = self.mda['number_of_columns']
pdict['a_name'] = 'geos_seviri_visir'
pdict['a_desc'] = 'MSG/SEVIRI low resolution channel area'
pdict['a_desc'] = 'SEVIRI low resolution channel area'
pdict['p_id'] = 'seviri_visir'

area = get_area_definition(pdict, self.get_area_extent(dataset_id))
Expand Down
16 changes: 8 additions & 8 deletions satpy/tests/reader_tests/test_seviri_l1b_native.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
'is_full_disk': True,
'expected_area_def': {
'Area ID': 'geos_seviri_visir',
'Description': 'MSG/SEVIRI low resolution channel area',
'Description': 'SEVIRI low resolution channel area',
'Projection ID': 'seviri_visir',
'Projection': {'a': '6378169000', 'b': '6356583800', 'h': '35785831',
'lon_0': '0', 'no_defs': 'None', 'proj': 'geos',
Expand All @@ -82,7 +82,7 @@
'is_full_disk': False,
'expected_area_def': {
'Area ID': 'geos_seviri_visir',
'Description': 'MSG/SEVIRI low resolution channel area',
'Description': 'SEVIRI low resolution channel area',
'Projection ID': 'seviri_visir',
'Projection': {'a': '6378169000', 'b': '6356583800', 'h': '35785831',
'lon_0': '0', 'no_defs': 'None', 'proj': 'geos',
Expand All @@ -99,7 +99,7 @@
'is_full_disk': True,
'expected_area_def': {
'Area ID': 'geos_seviri_hrv',
'Description': 'MSG/SEVIRI low resolution channel area',
'Description': 'SEVIRI low resolution channel area',
'Projection ID': 'seviri_hrv',
'Projection': {'a': '6378169000', 'b': '6356583800', 'h': '35785831',
'lon_0': '0', 'no_defs': 'None', 'proj': 'geos',
Expand All @@ -117,7 +117,7 @@
'is_full_disk': False,
'expected_area_def': {
'Area ID': 'geos_seviri_hrv',
'Description': 'MSG/SEVIRI high resolution channel area',
'Description': 'SEVIRI high resolution channel area',
'Projection ID': 'seviri_hrv',
'Projection': {'a': '6378169000', 'b': '6356583800', 'h': '35785831',
'lon_0': '0', 'no_defs': 'None', 'proj': 'geos',
Expand All @@ -134,7 +134,7 @@
'is_full_disk': True,
'expected_area_def': {
'Area ID': 'geos_seviri_visir',
'Description': 'MSG/SEVIRI low resolution channel area',
'Description': 'SEVIRI low resolution channel area',
'Projection ID': 'seviri_visir',
'Projection': {'a': '6378169000', 'b': '6356583800', 'h': '35785831',
'lon_0': '0', 'no_defs': 'None', 'proj': 'geos',
Expand All @@ -151,7 +151,7 @@
'is_full_disk': True,
'expected_area_def': {
'Area ID': 'geos_seviri_hrv',
'Description': 'MSG/SEVIRI low resolution channel area',
'Description': 'SEVIRI low resolution channel area',
'Projection ID': 'seviri_hrv',
'Projection': {'a': '6378169000', 'b': '6356583800', 'h': '35785831',
'lon_0': '0', 'no_defs': 'None', 'proj': 'geos',
Expand All @@ -169,7 +169,7 @@
'is_full_disk': False,
'expected_area_def': {
'Area ID': 'geos_seviri_visir',
'Description': 'MSG/SEVIRI low resolution channel area',
'Description': 'SEVIRI low resolution channel area',
'Projection ID': 'seviri_visir',
'Projection': {'a': '6378169000', 'b': '6356583800', 'h': '35785831',
'lon_0': '0', 'no_defs': 'None', 'proj': 'geos',
Expand All @@ -186,7 +186,7 @@
'is_full_disk': False,
'expected_area_def': {
'Area ID': 'geos_seviri_hrv',
'Description': 'MSG/SEVIRI high resolution channel area',
'Description': 'SEVIRI high resolution channel area',
'Projection ID': 'seviri_hrv',
'Projection': {'a': '6378169000', 'b': '6356583800', 'h': '35785831',
'lon_0': '0', 'no_defs': 'None', 'proj': 'geos',
Expand Down

0 comments on commit 68ec7d2

Please sign in to comment.