Skip to content
This repository was archived by the owner on Oct 26, 2019. It is now read-only.

Commit 159c61a

Browse files
Updated utilities
1 parent 57c3bec commit 159c61a

7 files changed

+378
-274
lines changed

bin/agg.out.noirr.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#!/usr/bin/env python
22

3+
# add paths
4+
import os, sys
5+
for p in os.environ['PATH'].split(':'): sys.path.append(p)
6+
37
# import modules
48
from optparse import OptionParser
59
from netCDF4 import Dataset as nc
@@ -189,4 +193,4 @@ def getyieldmask(yieldvar, yieldthr1 = 0.1, yieldthr2 = 30):
189193
else:
190194
avev[:, k, :] = data.transpose((1, 0))
191195

192-
f.close()
196+
f.close()

bin/agg.out.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#!/usr/bin/env python
22

3+
# add paths
4+
import os, sys
5+
for p in os.environ['PATH'].split(':'): sys.path.append(p)
6+
37
# import modules
48
from optparse import OptionParser
59
from netCDF4 import Dataset as nc
@@ -210,4 +214,4 @@ def getyieldmask(yieldvar, yieldthr1 = 0.1, yieldthr2 = 30):
210214
else:
211215
avev[:, k, :, :] = data.transpose((1, 0, 2))
212216

213-
f.close()
217+
f.close()

bin/pSIMSloader.py

-207
This file was deleted.

utils/RunDSSAT.sh

-65
This file was deleted.
File renamed without changes.

bin/averager.py utils/averager.py

File renamed without changes.

0 commit comments

Comments
 (0)