DrylandEcology / rSFSTEP2

R program that interfaces with the STEPWAT2 C code and runs in parallel for multiple sites, climate scenarios, disturbance regimes, and time periods
0 stars 1 forks source link

Site SQLite databases are labeled according to their R_program folder not their site ID #220

Closed kpalmqui closed 4 years ago

kpalmqui commented 4 years ago

Formerly, the SQLite databases were labeled with their site ID provided in generate_rSFSTEP2_structure.sh. Now they are labeled with the R_program folder number, which is not ideal.

It would be great to retain the site ID in the SQLite database name.

@chaukap

chaukap commented 4 years ago

@kpalmqui on it!

kpalmqui commented 4 years ago

@chaukap your commit above does seem to resolve the initial issue I described, but I have since discovered that the site column in the SQLite output database is also reflecting the R_program folder and not the site ID.

kpalmqui commented 4 years ago

@chaukap looks great. The one remaining issue is the site is labeled as "11.0" instead of 11 in the site column of the SQLite database. Any quick fix for this?