Skip to content

Commit

Permalink
#30: keep temporary nc-files to check results
Browse files Browse the repository at this point in the history
  • Loading branch information
mortenwh committed Jul 11, 2019
1 parent c83278f commit cb4fcd8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
7 changes: 4 additions & 3 deletions geospaas_wind/managers.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ def process(self, uri, force=False, *args, **kwargs):

# Direct reprojection fails - gdal can't read the bands if we do w.reproject...
# Workaround: Export wind to temporary file
fd, tmp_filename = tempfile.mkstemp(suffix='.nc')
os.close(fd) # Just in case - see https://www.logilab.org/blogentry/17873
tmp_filename = os.path.join(settings.PRODUCTS_ROOT,'TMP_WIND_'+os.path.basename(uri))
#fd, tmp_filename = tempfile.mkstemp(suffix='.nc')
#os.close(fd) # Just in case - see https://www.logilab.org/blogentry/17873
w.export(tmp_filename)

# Read temporary file
Expand Down Expand Up @@ -85,7 +86,7 @@ def process(self, uri, force=False, *args, **kwargs):
ww.export2thredds(thredds_fn, mask_name='swathmask', metadata=metadata)
wds, cr = super(WindManager, self).get_or_create(wind_uri)

os.unlink(tmp_filename)
#os.unlink(tmp_filename)

return wds, cr

14 changes: 7 additions & 7 deletions notebooks/Sentinel-1 wind.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -32,21 +32,21 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 22,
"metadata": {},
"outputs": [],
"source": [
"#fn = 'http://nbstds.met.no/thredds/dodsC/NBS/S1B/2019/06/30/IW/S1B_IW_GRDM_1SDV_20190630T051108_20190630T051141_016921_01FD7F_21CF.nc'\n",
"#fn = '/home/vagrant/project/S1A_EW_GRDM_1SDH_20190704T070553_20190704T070654_027964_032853_C95D.nc'\n",
"#fn = '/vagrant/lib/project/products/WIND_WIND_UNPROJECTED_S1A_IW_GRDM_1SDV_20190704T052723_20190704T052755_027963_03284A_AF7D.nc'\n",
"fn = '/home/vagrant/project/products/WIND_S1A_IW_GRDM_1SDV_20190709T165618_20190709T165650_028043_032AC4_6010.nc'\n",
"fn = '/home/vagrant/project/products/\n",
"fn = '/home/vagrant/project/products/"
"fn = '/home/vagrant/project/products/WIND_S1A_IW_GRDM_1SDV_20190709T165553_20190709T165625_028043_032AC4_4501.nc'\n",
"#fn = '/home/vagrant/project/products/WIND_S1A_IW_GRDM_1SDV_20190704T052723_20190704T052755_027963_03284A_AF7D.nc'"
]
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 23,
"metadata": {},
"outputs": [
{
Expand All @@ -63,12 +63,12 @@
},
{
"cell_type": "code",
"execution_count": 17,
"execution_count": 24,
"metadata": {},
"outputs": [
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAARYAAAD8CAYAAACy5YsfAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4xLjAsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy+17YcXAAANcklEQVR4nO3df6jdd33H8efLtLYyHbbrbQlJXDLIH0tlVrlkQsdw6tZMxfSfQgRH/ijknw4qG0gyYcM/Cm5/iH/1j6CygD9CQKWhyLYQFRkM0xtttWmMvVrXXhKa60TU/VHX+t4f9ys73tz2njTvk/u93fMBl+/3fO73nPO+pH3yPT84J1WFJHV63UYPIOm1x7BIamdYJLUzLJLaGRZJ7QyLpHYzC0uSfUkuJFlMcnhW9yNpfDKL97Ek2QL8APhzYAl4DPhQVT3VfmeSRmdWZyx7gcWq+lFV/Qo4Duyf0X1JGpkbZnS724DnJi4vAX/8cgffdttttXPnzhmNImlWzp49+5Oqmlu9PquwZI2133rMleQQcAjgLW95CwsLCzMaRdKsJPnPtdZn9VBoCdgxcXk7cHHygKo6WlXzVTU/N3dF8CRtYrMKy2PA7iS7krweOACcnNF9SRqZmTwUqqoXk/w18K/AFuCzVXVuFvclaXxm9RwLVfVV4Kuzun1J4+U7byW1MyyS2hkWSe0Mi6R2h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nnRzYj0HOC/Btho+PyOLAzyY4kr2flb2o8vsEzXWpUJyLPyiHKZ4GzVfWpMc6ZZG44YiHJG4H3At8b04xVdaiqtlbVdlb+uft6VX14TDPCjJ8gfyPeRb7kXe/3sfKJxw+Aj2/wLF8CLgD/y8p/AR4Efo+Vv6722eHyton9Pz7MfQ74yxs045+wcpj7n8CTw8/7xjQn8EfAE8OMTwN/P6yPZsZL5n0X//9p0ahmZOWT1KeGnzO//ndkbHOu9uM3dCW12OiXRZJeo4yLpBbGRVIL4yKphXGR1MK4SGphXCS1MC6SWvwfldf/t/Dmb/QAAAAASUVORK5CYII=\n",
"text/plain": [
"<Figure size 432x288 with 1 Axes>"
]
Expand All @@ -80,7 +80,7 @@
}
],
"source": [
"plt.imshow(n['V'], vmin=-10, vmax=10, cmap='jet')\n",
"plt.imshow(n['U'], vmin=-10, vmax=10, cmap='jet')\n",
"plt.show()"
]
},
Expand Down

0 comments on commit cb4fcd8

Please sign in to comment.