GithubHelp home page GithubHelp logo

meteoswiss-apn / fls_sat_verif Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 1.0 96 KB

Satellite-based verification of fog and low stratus forecasts

License: MIT License

Makefile 59.61% Python 38.48% Shell 1.91%

fls_sat_verif's People

Contributors

bascrezee avatar clairemerker avatar swester avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

swester

fls_sat_verif's Issues

NetCDF4 dependency is missing in requirements file.

(fls_sat_verif) bcrezee@tsa-ln003:/scratch/bcrezee/scripts/support-c2e/src/fls_sat_verif(support-c2e)$ fls_sat_verif --calc_fractions --wd /scratch/bcrezee/wd_fls_sat_verif/ --start 22010100 --e
nd 22010200 --interval 6 --exp_model_dir /store/s83/bcrezee/EXP_TST/560/ --exp 560 --model c2e -vvv 

-------------------------------
Working directory: /scratch/bcrezee/wd_fls_sat_verif/
-------------------------------

INFO:root:Your working directories:
INFO:root:   /scratch/bcrezee/wd_fls_sat_verif/sat
INFO:root:   /scratch/bcrezee/wd_fls_sat_verif/tqc
INFO:root:   /scratch/bcrezee/wd_fls_sat_verif/fls
INFO:root:   /scratch/bcrezee/wd_fls_sat_verif/plots
INFO:root:Calculating FLS fractions 
INFO:root:   for Jan 01, 2022, 00 UTC to Jan 03, 2022, 00 UTC.
WARNING:root:Created new obs dataframe:
WARNING:root:  /scratch/bcrezee/wd_fls_sat_verif/fls/obs.p
WARNING:root:Created new fcst dataframe:
WARNING:root:  /scratch/bcrezee/wd_fls_sat_verif/fls/fcst_560.p
DEBUG:root:SAT timestamp: 2112312345
WARNING:root:SAT file: /scratch/bcrezee/wd_fls_sat_verif/sat/MSG_lscl-cosmo1eqc3km_2112312345_c2e.nc
Traceback (most recent call last):
  File "/scratch/bcrezee/miniconda3/envs/fls_sat_verif/bin/fls_sat_verif", line 33, in <module>
    sys.exit(load_entry_point('fls-sat-verif', 'console_scripts', 'fls_sat_verif')())
  File "/scratch/bcrezee/miniconda3/envs/fls_sat_verif/lib/python3.8/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/scratch/bcrezee/miniconda3/envs/fls_sat_verif/lib/python3.8/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "/scratch/bcrezee/miniconda3/envs/fls_sat_verif/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/scratch/bcrezee/miniconda3/envs/fls_sat_verif/lib/python3.8/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/scratch-shared/meteoswiss/scratch/bcrezee/scripts/support-c2e/src/fls_sat_verif/cli.py", line 189, in main
    obs, fcst = calc_fls_fractions(
  File "/scratch-shared/meteoswiss/scratch/bcrezee/scripts/support-c2e/src/fls_sat_verif/utils.py", line 363, in calc_fls_fractions
    ds = xr.open_dataset(obs_file).squeeze()
  File "/scratch/bcrezee/miniconda3/envs/fls_sat_verif/lib/python3.8/site-packages/xarray/backends/api.py", line 479, in open_dataset
    engine = plugins.guess_engine(filename_or_obj)
  File "/scratch/bcrezee/miniconda3/envs/fls_sat_verif/lib/python3.8/site-packages/xarray/backends/plugins.py", line 148, in guess_engine
    raise ValueError(error_msg)
ValueError: found the following matches with the input file in xarray's IO backends: ['netcdf4', 'h5netcdf', 'scipy']. But their dependencies may not be installed, see:
https://docs.xarray.dev/en/stable/user-guide/io.html 
https://docs.xarray.dev/en/stable/getting-started-guide/installing.html

@swester I am looking into this, let me know if you encountered this problem already and know the solution.

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.