ORAC-CC / orac

Optimal Retrieval of Aerosol and Cloud
GNU General Public License v3.0
28 stars 19 forks source link

Update SLSTR reader to overcome array bounds error. #57

Closed simonrp84 closed 2 years ago

simonrp84 commented 2 years ago

The SLSTR reader currently reads outside the array bounds when resampling TIR data to VIS resolution:

Fortran runtime error: Index '0' of dimension 1 of array 'outarr' outside of expected range (1:1500)

This fixes the issue by reading from 1:1500 instead of 0:1499.

simonrp84 commented 2 years ago

@adamcpovey @garethethomas Could you take a look at this and check that it produces the results you expect?

simonrp84 commented 2 years ago

This is no longer required due to Adam's changes to the SLSTR reader.