mankoff / SICE

Sentinel 3 Snow Products - GEUS
http://snow.geus.dk/
5 stars 5 forks source link

Updated sice.py #20

Closed mankoff closed 4 years ago

mankoff commented 4 years ago

On the optimization, the major updates are:

Note that the slow part of the script is when solving for dark pixels. Applying a land/ocean mask at the scene level would speed up even more the script. At the moment land/ocean masking is done in dm.sh after sice.py was run. Once the cloud mask comes from idepix, we can run sice 1x/day rather than 1x/scene (see #19).

On the equations that are being used, the major update is that the BBA calculation for polluted snow now uses the BOA reflectance instead of the TOA reflectance as in the previous version. Alex updated that in the fortran code in December. Expect different performance at the PROMICE stations.

Also updated: All GRASS "permanent" folders to be on " ~ " instead of "." directory: When using a virtualbox and running SICE on a folder shared between host/guest, there are permission issues although bash and python scripts can create/delete files without problem. Changing that folder location solved it.