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

cmt_firepar.txt file is missing data #664

Open jsclein-uaf opened 10 months ago

jsclein-uaf commented 10 months ago

see here for what comes out of using param_util.py file

`// CMT51 // Tussock Tundra // ##Values from Trail Valley###
//  dvmdostem parameters // v0.7.0-183-gc44a88a1
//  cmtdescription // ""A long winded description. Spaces? Quotes? Special charachters?"""
//  calibration site // ""rail Valley Creek"""
//  calibration notes // ""Calibrator+VB and JC, Nov 2023”"
//  references file // refs.bib
//      Sedges     Sphagnum       Lichen         PFT3         PFT4         PFT5         PFT6         PFT7         PFT8         PFT9 // name: units // description // comment // refs
        0.0000       0.0000       0.0000       0.0000       0.0000       0.0000       0.0000       0.0000       0.0000       0.0000 // fvcomb_sev1:  // fraction of PFT vegetation combusted for severity 1 // same for allcmts // 
        0.1500       0.1500       0.1500       0.0000       0.0000       0.0000       0.0000       0.0000       0.0000       0.0000 // fvcomb_sev2:  // fraction of PFT vegetation combusted for severity 2 // same for allcmts // 
        0.2500       0.2500       0.2500       0.0000       0.0000       0.0000       0.0000       0.0000       0.0000       0.0000 // fvcomb_sev3:  // fraction of PFT vegetation combusted for severity 3 // same for allcmts // 
        0.3000       0.3000       0.3000       0.0000       0.0000       0.0000       0.0000       0.0000       0.0000       0.0000 // fvcomb_sev4:  // fraction of PFT vegetation combusted for severity 4 // same for allcmts // 
        0.3500       0.3500       0.3500       0.0000       0.0000       0.0000       0.0000       0.0000       0.0000       0.0000 // fvcomb_sev5:  // fraction of PFT vegetation combusted for severity 5 // same for allcmts // 
        0.0000       0.0000       0.0000       0.0000       0.0000       0.0000       0.0000       0.0000       0.0000       0.0000 // fvdead_sev1:  // fraction of PFT vegetation killed for severity 1 // same for allcmts // 
        0.5000       0.5000       0.5000       0.0000       0.0000       0.0000       0.0000       0.0000       0.0000       0.0000 // fvdead_sev2:  // fraction of PFT vegetation killed for severity 2 // same for allcmts // 
        0.6000       0.6000       0.6000       0.0000       0.0000       0.0000       0.0000       0.0000       0.0000       0.0000 // fvdead_sev3:  // fraction of PFT vegetation killed for severity 3 // same for allcmts // 
        0.6400       0.6400       0.6400       0.0000       0.0000       0.0000       0.0000       0.0000       0.0000       0.0000 // fvdead_sev4:  // fraction of PFT vegetation killed for severity 4 // same for allcmts // 
        0.6400       0.6400       0.6400       0.0000       0.0000       0.0000       0.0000       0.0000       0.0000       0.0000 // fvdead_sev5:  // fraction of PFT vegetation killed for severity 5 // same for allcmts // 
      0.5000  // vsmburn:  // volume soil moisture to define wet soil for prevent organic layer burning //  // same for allcmts
`
and here is what it should be (just adding what is missing in the bottom of the output)

0.00   // foslburn_sev1:  //  // fraction of OS layer burned for severity 1 // 
0.48   // foslburn_sev2:  //  // fraction of OS layer burned for severity 2 // 
0.54   // foslburn_sev3:  //  // fraction of OS layer burned for severity 3 // 
0.69   // foslburn_sev4:  //  // fraction of OS layer burned for severity 4 // 
0.80   // foslburn_sev5:  //  // fraction of OS layer burned for severity 5 // 
0.50   // vsmburn:  //  // volume soil moisture to define wet soil for prevent organic layer burning // 
0.10   // r_retain_c:  //  // ratio of burning residue C (retained into soil) // 
0.10   // r_retain_n:  //  // ratio of burning residue N (retained into soil) // 
jsclein-uaf commented 10 months ago

this is me answering my own issue I need to add those missing variables to the 'template' file and try it, just haven't done it yet

tobeycarman commented 10 months ago

This should be fixed when #638 is fixed. For now the work around is to manually add the noted lines to your csv file before running the --csv2fwt-v1 or to add the lines manually to your fixed width text files at the end.

Future csv files created after #638 is fixed should not present this problem.

jsclein-uaf commented 8 months ago

this issue is NOT fixed, at least just now when I ran fwt2csv_-v1 I only get vsmburn not all the other severity parameters... please add when you get a chance thanks