Opened 7 years ago

Closed 7 years ago

#1726 closed defect (fixed)

pygrib / netcdf should not be required by wcst_import by default

Reported by: Dimitar Misev Owned by: Bang Pham Huu
Priority: major Milestone: 9.6
Component: wcst_import Version: development
Keywords: Cc:
Complexity: Medium

Description

They should only be imported when I want to ingest grib or netcdf data.

This message should not appear when I ingest tiff data for example:

ImportError: No module named pygrib

Change History (3)

comment:1 by Bang Pham Huu, 7 years ago

Resolution: fixed
Status: newclosed

comment:2 by Dimitar Misev, 7 years ago

Resolution: fixed
Status: closedreopened

I still see this issue. To reproduce, uninstall pygrib, then

wcst_import.sh systemtest/testcases_services/test_all_wcst_import/test_data/3D_Timeseries_Regular/ingest.json
Traceback (most recent call last):
...
  File "/home/dimitar/rasdaman/community/src-install/share/rasdaman/wcst_import/util/reflection_util.py", line 49, in import_submodules
    results[full_name] = importlib.import_module(full_name)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/home/dimitar/rasdaman/community/src-install/share/rasdaman/wcst_import/recipes/general_coverage/pp_grib_to_coverage_converter.py", line 24, in <module>
    import pygrib
ImportError: No module named pygrib

comment:3 by Bang Pham Huu, 7 years ago

Resolution: fixed
Status: reopenedclosed

This file

wcst_import/recipes/general_coverage/pp_grib_to_coverage_converter.py

does not exist''' from http://rasdaman.org/browser/applications/wcst_import/recipes/general_coverage

you are using very outdated WCST_Import.

Note: See TracTickets for help on using tickets.