Commit 87085939 authored by Anthony's avatar Anthony
Browse files

Temp. patch in case there are no station in Location

parent 740066ab
...@@ -211,7 +211,7 @@ class Locations : ...@@ -211,7 +211,7 @@ class Locations :
# #
if part.rank == 0: if part.rank == 0:
# Create new dimension # Create new dimension
monmax = np.max(monnb) monmax = max(np.max(monnb), 1)
moncoord = ('htumon',) moncoord = ('htumon',)
outnf.createDimension(moncoord[0], monmax) outnf.createDimension(moncoord[0], monmax)
infocoord = ('locinfo',) infocoord = ('locinfo',)
......
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