uaf-arctic-eco-modeling / dvm-dos-tem

A process based Dynamic Vegetation, Dynamic Organic Soil, Terrestrial Ecosystem Model.
MIT License
22 stars 24 forks source link

`param.py --csv2fwt-v1` needs to cast some parameters to integer #639

Open tobeycarman opened 11 months ago

tobeycarman commented 11 months ago

The cmt_divegetation.txt parameters

All need to be forced to integers in the final output.

Right now they come out like this:

//    EverTree   DecidShrub    DecidTree  ...  // name: units // descriptio...
        1.0000       1.0000       1.0000  ...  // vegfrac:  vegetation cove...
        1.0000       1.0000       1.0000  ...  // ifwoody:  woody plants (1...
        0.0000       1.0000       1.0000  ...  // ifdeciwoody:  deciduous w...
        1.0000       1.0000       1.0000  ...  // ifperenial:  perenial (1)...
        0.0000       0.0000       0.0000  ...  // nonvascular type:  vascu...l
jsclein-uaf commented 10 months ago

additionally in cmt_dimground.txt

3.0000 // mosstype: // moss type (1:sphagnum-2:feathermoss-3:other) //

needs to be 3