robintw / Py6S

A Python interface to the 6S Radiative Transfer Model
GNU Lesser General Public License v3.0
195 stars 108 forks source link

Sentinel2 and Sentinel3 Spectral Response Functions #30

Closed jgomezdans closed 7 years ago

jgomezdans commented 7 years ago

6S doesn't seem to have Spectral Response Functions (SRFs) for S2 and S3. I have added these to Py6S using the information available from the ESA website (S3/OLCI, S3/SLSTR and S2A/MSI). For reference, I have written some scripts that process the ESA SRFs, as the preflight ones for S3A might change, and also in the future, it might be desirable to have them for the S2B and S3B platforms. That code can be found here (I'm afraid that it is a bit... ahem... terse...).

I haven't tested in anger, and the band numbers are compatible with my previous MODIS ocean bands PR (#29). I guess this commit also addresses #7

robintw commented 7 years ago

Thanks for this - and sorry for the huge delay due to my health issues. I've merged now, and will be doing a new release shortly.