Commit 1f46d7d9 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Fixed docker test run.

parent 1f9be4ce
Pipeline #3354 passed with stages
in 1 minute and 26 seconds
......@@ -24,6 +24,7 @@ test_py_tools_ds:
- source activate ci_env
- export GDAL_DATA=/root/miniconda3/envs/ci_env/share/gdal
- export PYTHONPATH=$PYTHONPATH:/root # /root <- directory needed later
- pip install pyresample # TODO: remove that as soon as docker container is rebuilt
- make nosetests
- make docs
artifacts:
......
......@@ -532,8 +532,10 @@ class SensorMapGeometryTransformer(object):
path_data_out = os.path.join(td, 'data_out.bsq')
# write lons and lats
# lons_lats = np.dstack([self.swath_definition.lons[::10, ::10], self.swath_definition.lats[::10, ::10]])
lons_lats = np.dstack([self.swath_definition.lons, self.swath_definition.lats])
# lons_lats = np.dstack([self.swath_definition.lons[::10, ::10],
# self.swath_definition.lats[::10, ::10]])
lons_lats = np.dstack([self.swath_definition.lons,
self.swath_definition.lats])
write_numpy_to_image(lons_lats, path_lons_lats, 'ENVI')
# create VRT for lons and lats
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment