NasjonaltBakkeSegment / safe_to_netcdf

Python scripts for converting specific Copernicus Sentinel products in Standard Archive Format for Europe (SAFE) to NetCDF/CF
GNU General Public License v3.0
6 stars 5 forks source link

S2 new format - Processing Baseline 04.00 #15

Closed ElodieFZ closed 2 years ago

ElodieFZ commented 2 years ago

The only technical difference for the new baseline is on the masks. They are now available in jp2 format instead of gml previously. I have added a loop to read and write those layers on the netcd file. I have kept the rasterize_vector function and loop for now, as I suppose that the S2 DTERR data will not be updated and will still have the masks in the older format. This update will 'work' (ie output nc file will have the proper mask variables) for both the current baseline and the new one.