c-scale-community / workflow-coastal-hydrowaq

Porting and deploying the HiSea use case on C-SCALE
Apache License 2.0
3 stars 1 forks source link

Fix postprocessing #45

Closed backeb closed 1 year ago

backeb commented 1 year ago

rule postprocess_raw_data: give the following error:

Traceback (most recent call last):
  File "/root/nc2regularGrid_listComprehension.py", line 1, in <module>
    from dfm_tools.get_nc import get_netdata, get_ncmodeldata
ImportError: cannot import name 'get_netdata' from 'dfm_tools.get_nc' (/opt/conda/envs/env/lib/python3.8/site-packages/dfm_tools/get_nc.py

Likely to do with changes made in dfm_tools.

For now have commented out rule postprocess_raw_data: in the Snakefile.

Originally posted by @backeb in https://github.com/c-scale-community/use-case-hisea/issues/43#issuecomment-1460154433

Also related to #42

backeb commented 1 year ago

This is the new way of working: https://github.com/Deltares/dfm_tools/blob/main/notebooks/postprocessing_example.ipynb

backeb commented 1 year ago

This will be taken care of in #42