dhi-gras / fmaskilicious Goto Github PK
View Code? Open in Web Editor NEWOrchestrate FMask 4.1 cloud masking ๐ญ
License: MIT License
Orchestrate FMask 4.1 cloud masking ๐ญ
License: MIT License
We used to call docker fmask like this:
uid, gid = os.getuid(), os.getgid()
shell(
'docker run'
f' -u {uid}:{gid}'
f' -v {indir!s}:/mnt/input-dir:ro'
f' -v {outdir!s}:/mnt/output-dir:rw'
' --rm '
'-t fmask '
f'{wildcards.scene_id} {granule_wildcard}'
)
But since the recent update, I get the following error:
Processing granule L1C_T19LDD_A008173_20180929T145000
------------------------------------------
Setting up environment variables
---
LD_LIBRARY_PATH is .:/usr/local/MATLAB/MATLAB_Runtime/v95/runtime/glnxa64:/usr/local/MATLAB/MATLAB_Runtime/v95/bin/glnxa64:/usr/local/MATLAB/MATLAB_Runtime/v95/sys/os/glnxa64:/usr/local/MATLAB/MATLAB_Runtime/v95/sys/opengl/lib/glnxa64
Cloud/cloud shadow/snow dilated by 3/3/0 pixels.
Cloud probability threshold of 20.00%.
Load or calculate TOA reflectances, Error using mkdir
Read-only file system
Error in LoadAuxiData (line 87)
Error in autoFmask (line 101)
Error in Fmask_4_0 (line 10)
MATLAB:MKDIR:OSError
The error is gone if I mount the input directory rw
, i.e.
f' -v {indir!s}:/mnt/input-dir:rw'
I can live with this workaround, but it is not nice.
FMask 4.4 is out.
Note the changes in the installation - using a newer version of Matlab: GERSL/Fmask#21 (comment)
Fmask 4.2 is out GERSL/Fmask#14 (comment)
I have no clue which parameters we can pass to /usr/GERS/Fmask_4_0/application/run_Fmask_4_0.sh
. Our run_fmask.sh
entrypoint script passes any options on - but which are there?
I tried to run the docker image interactively and /usr/GERS/Fmask_4_0/application/run_Fmask_4_0.sh --help
etc, but that fails for some technical reasons, at least on my first brief attempts.
When available (GERSL/Fmask#3)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.