Deliver geospatial models direct to decision makers with SyncroSim › Forums › ST-Sim & State-and-Transition Simulation Models › What is the name of the Initial Conditions Distribution table in R › Reply To: What is the name of the Initial Conditions Distribution table in R
Hi Colin –
I’m now working on a database with ~900 models, and I’m encountering this issue with numeric Stratum names. It looks like the latest version of rsyncrosim on your website is v.1.0.2. Do I understand correctly that this problem still exists in the current version?
What would you suggest as a work around for such a large model library? I tried unsuccessfully to add “BPS” to the beginning of each Stratum name using the following code, but it would not save the result to the datasheet.
# *************************************************************
# File/Package Setup
# *************************************************************
library(rsyncrosim)
programFolder = “C:/Program Files/SyncroSim”
# *************************************************************
# Start Session & Library Setup
# *************************************************************
Ses = session(programFolder)
module(Ses)
setwd(“C:/Users/kblankenship/Documents/aLANDFIRE/MODEL/STSM/SynchroSim2/QC”)
getwd()
# Specify the library, project and scenario
Lib = ssimLibrary(name=”MasterSsim09June2014-qc-50-5.ssim”, model=”stsim”, session=Ses)
Prj = project(Lib, project=”BpSModels”)
#Add “BPS” to Stratum name
Stratumsheet = “STSim_Stratum”
Stratumdata = datasheet(Prj, Stratumsheet)
Stratumdata$Name<-paste(“BPS”,Stratumdata$Name, sep=””)
saveDatasheet(Prj, Stratumdata, Stratumsheet,append = FALSE)
y
Stratumdata = datasheet(Prj, Stratumsheet)