-
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
Converting VIC ascii parameters to netcdf for image driver #61
Comments
I am also facing the same issue. Any updates/workaround this issue? @lizaclark |
I am facing this issue! did anyone solve this issue? this is how I am running it if I am right i did this in python as (file name =file.py) #!/usr/bin/env python Read the soil parameterssoil_dict = soil('/mnt/c/global_para/parameters/Stehekin_soil.txt', c=Cols(nlayers=3)) Read the snow parameterssnow_dict = snow('/mnt/c/PostDoc/VIC-Model/global_data_sets/global_para/parameters/Stehekin_snowbands.txt', Read the veg parameter fileveg_dict = veg('/mnt/c/global_para/parameters/Stehekin_vegparam.txt', Determine the grid shapetarget_grid, target_attrs = calc_grid(soil_dict['lats'], soil_dict['lons']) Grid all the parametersgrid_dict = grid_params(soil_dict, target_grid, version=version, Write a netCDF file with all the parameterswrite_netcdf('/mnt/c/global_para/parameters/global_sol_params_vic5.nc', target_attrs, after running this as "python file.py" I am getting are:
|
I am also facing same issue. |
When I run
vic_utils grid_params --help
, I get the usage, like I would expect, but if I runvic_utils grid_params soil_file.txt
, I get the same usage that I would get fromvic_utils --help
. According to thegrid_params
help, the soil file is the only required input. the others are not optional? grid_params() doesn't seem to need these parameters. Either way, I would think that thevic_utils grid_params
usage would print to the screen instead of thevic_utils
usage.The text was updated successfully, but these errors were encountered: