[Swift-commit] r7127 - in SwiftApps/Swift-MapRed/psims: . campaigns campaigns/ggcmi.maize
ketan at ci.uchicago.edu
ketan at ci.uchicago.edu
Thu Oct 3 15:03:56 CDT 2013
Author: ketan
Date: 2013-10-03 15:03:56 -0500 (Thu, 03 Oct 2013)
New Revision: 7127
Added:
SwiftApps/Swift-MapRed/psims/campaigns/ggcmi.maize/
SwiftApps/Swift-MapRed/psims/campaigns/ggcmi.maize/Campaign.nc4
SwiftApps/Swift-MapRed/psims/campaigns/ggcmi.maize/exp_template.json
SwiftApps/Swift-MapRed/psims/campaigns/ggcmi.maize/params
SwiftApps/Swift-MapRed/psims/campaigns/ggcmi.maize/params2
Modified:
SwiftApps/Swift-MapRed/psims/swiftcommand.sh
Log:
Added: SwiftApps/Swift-MapRed/psims/campaigns/ggcmi.maize/Campaign.nc4
===================================================================
(Binary files differ)
Property changes on: SwiftApps/Swift-MapRed/psims/campaigns/ggcmi.maize/Campaign.nc4
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: SwiftApps/Swift-MapRed/psims/campaigns/ggcmi.maize/exp_template.json
===================================================================
--- SwiftApps/Swift-MapRed/psims/campaigns/ggcmi.maize/exp_template.json (rev 0)
+++ SwiftApps/Swift-MapRed/psims/campaigns/ggcmi.maize/exp_template.json 2013-10-03 20:03:56 UTC (rev 7127)
@@ -0,0 +1,253 @@
+{
+ "soil_id": "XY01234567_1",
+ "person_notes": "Joshua Elliott",
+ "local_name": "GenericName",
+ "wst_id": "GENERIC1",
+ "exname": "X1234568MZ_1",
+ "institution": "Computation Institute, University of Chicago",
+ "fl_name": "GenericField1",
+ "site_name": "GenericLatitude, GenericLongitude",
+ "trno": "1",
+ "trt_name": "GenericTreatment1",
+ "id_field": "GENERIC",
+ "exname_o": "X1234567MZ",
+ "dssat_sequence": {
+ "data": [
+ {
+ "em": "0",
+ "co": "0",
+ "trno": "1",
+ "sq": "1",
+ "trt_name": "GenericTreatment1",
+ "seqid": "1",
+ "sm": "1",
+ "op": "0"
+ }
+ ]
+ },
+ "dssat_simulation_control": {
+ "data": [
+ {
+ "sm": "1",
+ "planting": {
+ "ph2od": "30",
+ "pfday": "113",
+ "ph2ol": "40",
+ "pfyer": "80",
+ "plday": "173",
+ "plyer": "80",
+ "ph2ou": "100",
+ "pstmx": "40",
+ "pstmn": "10"
+ },
+ "irrigation": {
+ "ithru": "100",
+ "iroff": "GS000",
+ "imeth": "IR001",
+ "imdep": "40",
+ "ireff": ".75",
+ "iramt": "10",
+ "ithrl": "75"
+ },
+ "management": {
+ "irrig": "A",
+ "plant": "A",
+ "ferti": "D",
+ "resid": "A",
+ "harvs": "M"
+ },
+ "methods": {
+ "evapo": "F",
+ "nswit": "1",
+ "light": "E",
+ "wther": "M",
+ "infil": "S",
+ "photo": "L",
+ "mesom": "G",
+ "mesol": "2",
+ "incon": "M",
+ "mesev": "S",
+ "hydro": "R"
+ },
+ "outputs": {
+ "grout": "N",
+ "caout": "N",
+ "ovvew": "Y",
+ "niout": "N",
+ "waout": "N",
+ "fropt": "14",
+ "sumry": "Y",
+ "opout": "N",
+ "chout": "N",
+ "diout": "N",
+ "fname": "N",
+ "vbose": "N",
+ "miout": "N"
+ },
+ "harvests": {
+ "hfrst": "0",
+ "hlyer": "81",
+ "hpcnr": "0",
+ "hpcnp": "100",
+ "hlday": "365"
+ },
+ "residues": {
+ "rtime": "1",
+ "ripcn": "100",
+ "ridep": "20"
+ },
+ "general": {
+ "sname": "Irrigated",
+ "nyers": "31",
+ "rseed": "2150",
+ "start": "S",
+ "nreps": "1",
+ "sdday": "001",
+ "sdyer": "80",
+ "smodel": "MZCER"
+ },
+ "nitrogen": {
+ "ncode": "FE001",
+ "nmdep": "30",
+ "naoff": "GS000",
+ "nmthr": "10",
+ "namnt": "50"
+ },
+ "options": {
+ "symbi": "Y",
+ "dises": "N",
+ "phosp": "N",
+ "water": "Y",
+ "till": "N",
+ "co2": "M",
+ "potas": "N",
+ "chem": "N",
+ "nitro": "Y"
+ }
+ }
+ ]
+ },
+ "management": {
+ "events": [
+ {
+ "pldp": "50.0",
+ "plrs": "75",
+ "cul_id": "HY0001",
+ "plds": "R",
+ "crid": "MZ",
+ "plpoe": "5.0",
+ "cul_name": "HY01",
+ "plma": "S",
+ "seqid": "1",
+ "date": "19800101",
+ "pl_name": "1979I",
+ "plpop": "5.0",
+ "event": "planting"
+ },
+ {
+ "fedep": "15",
+ "feamn": "100",
+ "feacd": "AP002",
+ "fe_name": "high",
+ "fecd": "FE001",
+ "seqid": "1",
+ "date": "1",
+ "event": "fertilizer"
+ },
+ {
+ "fedep": "15",
+ "feamn": "100",
+ "feacd": "AP002",
+ "fe_name": "high",
+ "fecd": "FE001",
+ "seqid": "1",
+ "date": "45",
+ "event": "fertilizer"
+ },
+ {
+ "irstg": "GS000",
+ "irmdp": "40",
+ "iame": "IR001",
+ "irept": "100",
+ "irthr": "75",
+ "seqid": "1",
+ "ireff": "1.00",
+ "date": "20110101",
+ "iamt": "10",
+ "irval": "79.0",
+ "event": "irrigation",
+ "irop": "IR001"
+ },
+ {
+ "seqid": "1",
+ "ha_name": "Maize",
+ "date": "",
+ "event": "harvest"
+ }
+ ]
+ },
+ "dssat_environment_modification": {
+ "data": [
+ {
+ "em": "1",
+ "data": {
+ "erad": "A 0",
+ "ewind": "A 0",
+ "emin": "A 0",
+ "odday": "001",
+ "emax": "A 0",
+ "erain": "A 0.0",
+ "eday": "A 0",
+ "eco2": "R 320",
+ "envnam": "EnvMod",
+ "odyer": "80",
+ "edew": "A 0"
+ }
+ }
+ ]
+ },
+ "soil": {
+ "soil_id": "XY01234567_1",
+ "soilLayer": [
+ {
+ "sllb": "15"
+ }
+ ],
+ "sa": "1",
+ "sadat": "19800410"
+ },
+ "initial_conditions": {
+ "icpcr": "MZ",
+ "icrp": "0",
+ "icrze": "1",
+ "icdat": "19800101",
+ "icrip": "100",
+ "icrn": "1",
+ "ic_name": "1000kg Residue",
+ "icrdp": "10",
+ "icrag": "1000",
+ "icrz#": "1",
+ "soilLayer": [
+ {
+ "icno3": ".1",
+ "icbl": "10",
+ "icnh4": ".1"
+ },
+ {
+ "icno3": ".1",
+ "icbl": "40",
+ "icnh4": ".1"
+ },
+ {
+ "icno3": ".1",
+ "icbl": "100",
+ "icnh4": ".1"
+ },
+ {
+ "icno3": ".1",
+ "icbl": "200",
+ "icnh4": ".1"
+ }
+ ]
+ }
+}
\ No newline at end of file
Added: SwiftApps/Swift-MapRed/psims/campaigns/ggcmi.maize/params
===================================================================
--- SwiftApps/Swift-MapRed/psims/campaigns/ggcmi.maize/params (rev 0)
+++ SwiftApps/Swift-MapRed/psims/campaigns/ggcmi.maize/params 2013-10-03 20:03:56 UTC (rev 7127)
@@ -0,0 +1,13 @@
+model dssat45
+campaign /scratch/midway/maheshwari/psims/campaigns/pdssat/ggcmi.maize
+soils /scratch/midway/maheshwari/psims/data/soils/hwsd200.wrld.30min
+weather /scratch/midway/maheshwari/psims/data/clim/agmerra
+refdata /scratch/midway/maheshwari/psims/campaigns/pdssat/common.isimip
+bintransfer $PWD/bin/DSCSM045.EXE,$PWD/tapps/pdssat/psims2WTH.py,$PWD/tapps/pdssat/OUT2psims.py,$PWD/bin/camp2json.py,$PWD/tapps/pdssat/jsons2dssat.py
+tappwth psims2WTH.py:-o:GENERIC1.WTH:-v:tasmin,tasmax,rsds,pr,wind
+tappcamp camp2json.py:-c:Campaign.nc4:-e:exp_template.json:-o:experiment.json
+tappinp jsons2dssat.py:-x:X1234567.MZX:-s:soil.json:-e:experiment.json:-S:SOIL.SOL
+executable DSCSM045.EXE:A:X1234567.MZX
+outtypes .WTH,.MZX,.SOL,.OUT,.json
+postprocess ./OUT2psims.py:-i:Summary.OUT:-v:PDAT,ADAT,MDAT,CWAM,HWAM,IRCM,PRCM,ETCM:--delta:30:-s:4:-y:31:--ref_year:1980
+NCconcat ../bin/append.sh:PDAT,ADAT,MDAT,CWAM,HWAM,IRCM,PRCM,ETCM:"PlantDate,AnthesisDate,MaturityDate,TotalBiomass,Yield,IrrigationApplied,GrowingSeasonPrecip,GrowingSeasonET":"DOY,DOY,DOY,kg/ha,kg/ha,mm,mm,mm":720:360:30:31:4:1980:./parts:out.psims.dssat45.agmerra.maize.nc4
Added: SwiftApps/Swift-MapRed/psims/campaigns/ggcmi.maize/params2
===================================================================
--- SwiftApps/Swift-MapRed/psims/campaigns/ggcmi.maize/params2 (rev 0)
+++ SwiftApps/Swift-MapRed/psims/campaigns/ggcmi.maize/params2 2013-10-03 20:03:56 UTC (rev 7127)
@@ -0,0 +1,13 @@
+model dssat45
+campaign /project/joshuaelliott/psims/campaigns/pdssat/ggcmi.maize
+soils /project/joshuaelliott/psims/data/soils/hwsd1.wrld.30min
+weather /project/joshuaelliott/psims/data/clim/agcfsr
+refdata /project/joshuaelliott/psims/campaigns/pdssat/common.isimip
+bintransfer $PWD/bin/DSCSM045.EXE,$PWD/tapps/pdssat/psims2WTH.py,$PWD/tapps/pdssat/OUT2psims.py,$PWD/tapps/pdssat/camp2json_dssat.py,$PWD/tapps/pdssat/jsons2dssat.py
+tappwth psims2WTH.py:-o:GENERIC1.WTH:-v:tasmin,tasmax,rsds,pr,wind
+tappcamp camp2json_dssat.py:-c:Campaign.nc4:-e:exp_template.json:-o:experiment.json
+tappinp jsons2dssat.py:-x:X1234567.MZX:-s:soil.json:-e:experiment.json:-S:SOIL.SOL
+executable DSCSM045.EXE:A:X1234567.MZX
+outtypes .WTH,.MZX,.SOL,.OUT,.json
+postprocess ./OUT2psims.py:-i:Summary.OUT:-v:PDAT,ADAT,MDAT,CWAM,HWAM,IRCM,PRCM,ETCM:--delta:30:-s:4:-y:31:--ref_year:1980
+NCconcat ../bin/append.sh:PDAT,ADAT,MDAT,CWAM,HWAM,IRCM,PRCM,ETCM:"PlantDate,AnthesisDate,MaturityDate,TotalBiomass,Yield,IrrigationApplied,GrowingSeasonPrecip,GrowingSeasonET":"DOY,DOY,DOY,kg/ha,kg/ha,mm,mm,mm":720:360:30:31:4:1980:./parts:out.psims.dssat45.agcfsr.maize.nc4
Modified: SwiftApps/Swift-MapRed/psims/swiftcommand.sh
===================================================================
--- SwiftApps/Swift-MapRed/psims/swiftcommand.sh 2013-10-03 17:39:43 UTC (rev 7126)
+++ SwiftApps/Swift-MapRed/psims/swiftcommand.sh 2013-10-03 20:03:56 UTC (rev 7127)
@@ -1,6 +1,7 @@
swift -tc.file tc.data -sites.file midway.xml -config cf RunpSIMS.swift \
--model=dssat45 -campaign=/scratch/midway/maheshwari/psims/campaigns/pdssat/ggcmi.maize \
+-model=dssat45 \
+-campaign=/scratch/midway/maheshwari/psims/campaigns/pdssat/ggcmi.maize \
-soils=/scratch/midway/maheshwari/psims/data/soils/hwsd200.wrld.30min \
-weather=/scratch/midway/maheshwari/psims/data/clim/agmerra \
-refdata=/scratch/midway/maheshwari/psims/campaigns/pdssat/common.isimip \
More information about the Swift-commit
mailing list