Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

move flood forecast to realtime package

  • Loading branch information...
commit f65e2976c027ac8344691ad45e42212e93b7a6a6 1 parent 852eec7
@ismailsunni ismailsunni authored
View
2  realtime/make_flood_forecast.py
@@ -20,7 +20,7 @@
import sys
#from safe.storage.converter import convert_netcdf2tif as a
from safe.common.utilities import zip_shp
-from safe.storage.netcdf_utilities import convert_netcdf2tif
+from realtime.netcdf_utilities import convert_netcdf2tif
from safe.storage.vector import Vector
from safe.engine.interpolation import tag_polygons_by_grid
from safe.storage.core import read_layer
View
2  safe/storage/netcdf_utilities.py → realtime/netcdf_utilities.py
@@ -9,7 +9,7 @@
# installed as a dependency on python-scientific
from Scientific.IO.NetCDF import NetCDFFile
-from raster import Raster
+from safe.storage.raster import Raster
from safe.storage.utilities import raster_geometry2geotransform
View
2  safe/engine/test_flood_forecasting.py → realtime/test_flood_forecasting.py
@@ -4,7 +4,7 @@
import numpy
import os
-from safe.storage.netcdf_utilities import convert_netcdf2tif
+from netcdf_utilities import convert_netcdf2tif
from safe.storage.core import read_layer
from safe.storage.vector import Vector
from safe.engine.interpolation import tag_polygons_by_grid
View
4 scripts/netcdf2tif.py
@@ -4,14 +4,12 @@
"""
import os
-import sys
-import numpy
import argparse
from safe.storage.vector import Vector
-from safe.storage.netcdf_utilities import convert_netcdf2tif
+from realtime.netcdf_utilities import convert_netcdf2tif
from safe.storage.core import read_layer
from safe.engine.interpolation import tag_polygons_by_grid
Please sign in to comment.
Something went wrong with that request. Please try again.