Open danhamill opened 2 years ago
Similarly, grid_params
has the attribute Format
as apposed to format
Exception has occurred: AttributeError
module 'tonic.models.vic.grid_params' has no attribute 'format'
File "C:\workspace\git_clones\tonic\tonic\models\vic\ncparam2ascii.py", line 329, in snow
f = grid_params.format(snow_bands=snow_bands)
File "C:\workspace\git_clones\tonic\tonic\models\vic\ncparam2ascii.py", line 59, in subset
snow(data, xinds, yinds, snow_file)
File "C:\workspace\git_clones\tonic\tests\levenh_to_ascii.py", line 9, in <module>
subset(param_file, soil_file = soil_export,
I am trying to convert a netcdf file representing the livenh dataset back to ascii to ensure the conversion from #76 worked.
My Script is:
It appeared to complete the veg file export, but failed on the snow export.
https://github.com/UW-Hydro/tonic/blob/67cc1a1efa481a65e304917bc8af36c2a30af055/tonic/models/vic/ncparam2ascii.py#L321-L350
grid_params
appears to have the attributeCols
as apposed tocols
.After inspecting the output veg file, I see this in the output:
And this is from the Livenh input file I started with:
I believe the mistaken lines represent monthly LAI numbers. Why are they different?