-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
module 'tonic.models.vic.grid_params' has no attribute 'cols' or 'format' #77
Comments
Similarly, 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, tonic/tonic/models/vic/ncparam2ascii.py Lines 321 to 350 in 67cc1a1
|
danhamill
changed the title
module 'tonic.models.vic.grid_params' has no attribute 'cols'
module 'tonic.models.vic.grid_params' has no attribute 'cols' or 'format'
May 14, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
tonic/tonic/models/vic/ncparam2ascii.py
Lines 321 to 350 in 67cc1a1
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?
The text was updated successfully, but these errors were encountered: