Earth-Information-System / fireatlas

4 stars 2 forks source link

updates to FireRun.constrainByShape after pairing session #5

Closed lisamr closed 3 months ago

lisamr commented 3 months ago

forgot to commit these changes after our pairing session following the update to file structures.

Also, I think I fixed check_preprocessed_file(). It was searching for existing VIIRS files and indicating that they don't exist when they do.

fs = fsspec.filesystem(location) was in there, and when the default location value is None, it doesn't work. I used settings.fs instead to search if files exist and seems to work.

lisamr commented 3 months ago

oops, wrong branch