Added DEPRECATED marking to the old forcing function.

I do not want to remove it yet. Not until something like that exists in the DSL code.
This commit is contained in:
Miikka Vaisala
2019-06-19 13:46:03 +08:00
parent b5753f0bec
commit 40b4a61a4c
3 changed files with 37 additions and 7 deletions

View File

@@ -45,7 +45,7 @@ print("sys.argv", sys.argv)
#meshdir = "/tiara/home/mvaisala/astaroth-code/astaroth_2.0/build/"
#meshdir = "/tiara/ara/data/mvaisala/tmp/astaroth-code/astaroth_2.0/build/"
#meshdir = "/tiara/ara/data/mvaisala/asth_testbed_double/"
meshdir = "/scratch/data/mvaisala/iotest/"
meshdir = "/scratch/data/mvaisala/forcingtest/"
if "xtopbound" in sys.argv:
for i in range(0, 171):
@@ -169,7 +169,7 @@ if '1d' in sys.argv:
if 'sl' in sys.argv:
#maxfiles = 200002
#stride = 10000
maxfiles = 1001
maxfiles = 5001
stride = 100
for i in range(0, maxfiles, stride):
mesh = ad.read.Mesh(i, fdir=meshdir)