Git Product home page Git Product logo

fmaskilicious's People

Contributors

dionhaefner avatar j08lue avatar lleisong avatar marujore avatar thibautberthome avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

fmaskilicious's Issues

New Fmask needs write access to input dir?

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.

how to configure Fmask?

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.