Skip to content
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

python rvic parameters rvic.parameters.rasm.cfg -np=1 this command giving errors ... #128

Open
LahaSourav opened this issue Sep 17, 2019 · 0 comments

Comments

@LahaSourav
Copy link

please have a look on the error message I got ...please help me how to solve it ...
When I ran the command python rvic parameters rvic.parameters.rasm.cfg -np=1

INFO:gen_uh_init>> Finished with gen_uh_init
INFO:gen_uh_init>> -------------------------------------------------------------

INFO:gen_uh_run>> Running outlet cell id 46050
INFO:gen_uh_run>> On pour_point #1 of 1
INFO:rout>> Starting routing program for point: Point(outlet_58.3500_93.5500, lat:58.3500, lon:93.5500, y:167, x:125)
INFO:rout>> Input Latitude: 58.350000
INFO:rout>> Input Longitude: 93.550000
INFO:rout>> Global Basid ID: 35684
DEBUG:rout>> Grid cells in subset: 204402
ERROR:write>> Traceback (most recent call last):
ERROR:write>> File "rvic1", line 61, in
ERROR:write>> main()
ERROR:write>> File "rvic1", line 43, in main
ERROR:write>> parameters(args.config_file, numofproc=args.numofproc)
ERROR:write>> File "/home/souravlaha/Desktop/RVIC-rvic.1.1.1/rvic/parameters.py", line 90, in parameters
ERROR:write>> config_dict, directories)
ERROR:write>> File "/home/souravlaha/Desktop/RVIC-rvic.1.1.1/rvic/parameters.py", line 454, in gen_uh_run
ERROR:write>> config_dict['ROUTING'])
ERROR:write>> File "/home/souravlaha/Desktop/RVIC-rvic.1.1.1/rvic/core/make_uh.py", line 84, in rout
ERROR:write>> glons=basin['lon'])
ERROR:write>> File "/home/souravlaha/Desktop/RVIC-rvic.1.1.1/rvic/core/utilities.py", line 36, in latlon2yx
ERROR:write>> if (plons.max() > 180):
ERROR:write>> AttributeError
ERROR:write>> :
ERROR:write>> 'float' object has no attribute 'max'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant