Skip to content

Commit

Permalink
Update test_agri_l1.py
Browse files Browse the repository at this point in the history
  • Loading branch information
yukaribbba committed Jul 19, 2023
1 parent 2f0c6aa commit 4b63854
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions satpy/tests/reader_tests/test_agri_l1.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,16 @@
RESOLUTION_LIST = [500, 1000, 2000, 4000]

AREA_EXTENTS_BY_RESOLUTION = {'FY4A': {
500: (-5495271.006002, -5496021.008869, -5493270.998357, -5495521.006957),
1000: (-5494521.070252, -5496021.076004, -5490521.054912, -5495021.072169),
2000: (-5493021.198696, -5496021.210274, -5485021.167823, -5494021.202556),
4000: (-5490021.187119, -5496021.210274, -5474021.125371, -5492021.194837)
500: (-5496021.008869, 5495021.005046, -5493520.999312, 5496021.008869),

Check notice on line 43 in satpy/tests/reader_tests/test_agri_l1.py

View check run for this annotation

codefactor.io / CodeFactor

satpy/tests/reader_tests/test_agri_l1.py#L43

multiple spaces after ',' (E241)

Check notice on line 43 in satpy/tests/reader_tests/test_agri_l1.py

View check run for this annotation

codefactor.io / CodeFactor

satpy/tests/reader_tests/test_agri_l1.py#L43

multiple spaces after ',' (E241)
1000: (-5496021.076004, 5494021.068334, -5491021.05683, 5496021.076004),

Check notice on line 44 in satpy/tests/reader_tests/test_agri_l1.py

View check run for this annotation

codefactor.io / CodeFactor

satpy/tests/reader_tests/test_agri_l1.py#L44

multiple spaces after ',' (E241)

Check notice on line 44 in satpy/tests/reader_tests/test_agri_l1.py

View check run for this annotation

codefactor.io / CodeFactor

satpy/tests/reader_tests/test_agri_l1.py#L44

multiple spaces after ',' (E241)
2000: (-5496021.210274, 5492021.194837, -5486021.171682, 5496021.210274),

Check notice on line 45 in satpy/tests/reader_tests/test_agri_l1.py

View check run for this annotation

codefactor.io / CodeFactor

satpy/tests/reader_tests/test_agri_l1.py#L45

multiple spaces after ',' (E241)

Check notice on line 45 in satpy/tests/reader_tests/test_agri_l1.py

View check run for this annotation

codefactor.io / CodeFactor

satpy/tests/reader_tests/test_agri_l1.py#L45

multiple spaces after ',' (E241)
4000: (-5496021.210274, 5488021.1794, -5476021.13309, 5496021.210274)

Check notice on line 46 in satpy/tests/reader_tests/test_agri_l1.py

View check run for this annotation

codefactor.io / CodeFactor

satpy/tests/reader_tests/test_agri_l1.py#L46

multiple spaces after ',' (E241)

Check notice on line 46 in satpy/tests/reader_tests/test_agri_l1.py

View check run for this annotation

codefactor.io / CodeFactor

satpy/tests/reader_tests/test_agri_l1.py#L46

multiple spaces after ',' (E241)
},
'FY4B': {
500: (-5495271.006002, -5496021.008869, -5493270.998357, -5495521.006957),
1000: (-5494521.070252, -5496021.076004, -5490521.054912, -5495021.072169),
2000: (-5493021.198696, -5496021.210274, -5485021.167823, -5494021.202556),
4000: (-5490021.187119, -5496021.210274, -5474021.125371, -5492021.194837)
500: (-5496021.008869, 5495021.005046, -5493520.999312, 5496021.008869),

Check notice on line 49 in satpy/tests/reader_tests/test_agri_l1.py

View check run for this annotation

codefactor.io / CodeFactor

satpy/tests/reader_tests/test_agri_l1.py#L49

multiple spaces after ',' (E241)

Check notice on line 49 in satpy/tests/reader_tests/test_agri_l1.py

View check run for this annotation

codefactor.io / CodeFactor

satpy/tests/reader_tests/test_agri_l1.py#L49

multiple spaces after ',' (E241)
1000: (-5496021.076004, 5494021.068334, -5491021.05683 , 5496021.076004),

Check notice on line 50 in satpy/tests/reader_tests/test_agri_l1.py

View check run for this annotation

codefactor.io / CodeFactor

satpy/tests/reader_tests/test_agri_l1.py#L50

multiple spaces after ',' (E241)

Check notice on line 50 in satpy/tests/reader_tests/test_agri_l1.py

View check run for this annotation

codefactor.io / CodeFactor

satpy/tests/reader_tests/test_agri_l1.py#L50

multiple spaces after ',' (E241)
2000: (-5496021.210274, 5492021.194837, -5486021.171682, 5496021.210274),

Check notice on line 51 in satpy/tests/reader_tests/test_agri_l1.py

View check run for this annotation

codefactor.io / CodeFactor

satpy/tests/reader_tests/test_agri_l1.py#L51

multiple spaces after ',' (E241)

Check notice on line 51 in satpy/tests/reader_tests/test_agri_l1.py

View check run for this annotation

codefactor.io / CodeFactor

satpy/tests/reader_tests/test_agri_l1.py#L51

multiple spaces after ',' (E241)
4000: (-5496021.210274, 5488021.1794, -5476021.13309, 5496021.210274)

Check notice on line 52 in satpy/tests/reader_tests/test_agri_l1.py

View check run for this annotation

codefactor.io / CodeFactor

satpy/tests/reader_tests/test_agri_l1.py#L52

multiple spaces after ',' (E241)

Check notice on line 52 in satpy/tests/reader_tests/test_agri_l1.py

View check run for this annotation

codefactor.io / CodeFactor

satpy/tests/reader_tests/test_agri_l1.py#L52

multiple spaces after ',' (E241)
}}


Expand Down Expand Up @@ -201,6 +201,8 @@ def get_test_content(self, filename, filename_info, filetype_info):
'/attr/RegWidth': np.array(5.0),
'/attr/Begin Line Number': np.array(0),
'/attr/End Line Number': np.array(1),
'/attr/Begin Pixel Number': np.array(0),
'/attr/End Pixel Number': np.array(1),
'/attr/Observing Beginning Date': '2019-06-03', '/attr/Observing Beginning Time': '00:30:01.807',
'/attr/Observing Ending Date': '2019-06-03', '/attr/Observing Ending Time': '00:34:07.572',
'/attr/Satellite Name': 'FY4A', '/attr/Sensor Identification Code': 'AGRI', '/attr/Sensor Name': 'AGRI',
Expand Down

0 comments on commit 4b63854

Please sign in to comment.