diff --git a/satpy/readers/abi_l1b.py b/satpy/readers/abi_l1b.py index f92f2c7812..88532934a6 100644 --- a/satpy/readers/abi_l1b.py +++ b/satpy/readers/abi_l1b.py @@ -40,7 +40,7 @@ def get_dataset(self, key, info): logger.debug('Reading in get_dataset %s.', key['name']) # For raw cal, don't apply scale and offset, return raw file counts if key['calibration'] == 'counts': - radiances = self.nc['Rad'] + radiances = self.nc['Rad'].copy() else: radiances = self['Rad'] diff --git a/satpy/tests/reader_tests/test_abi_l1b.py b/satpy/tests/reader_tests/test_abi_l1b.py index b12ad0c80e..b868c91d87 100644 --- a/satpy/tests/reader_tests/test_abi_l1b.py +++ b/satpy/tests/reader_tests/test_abi_l1b.py @@ -318,7 +318,6 @@ class Test_NC_ABI_L1B_invalid_cal(Test_NC_ABI_L1B_Base): def test_invalid_calibration(self): """Test detection of invalid calibration values.""" - # Need to use a custom DataID class because the real DataID class is # smart enough to detect the invalid calibration before the ABI L1B # get_dataset method gets a chance to run.