UW-Hydro / RVIC

RVIC Streamflow Routing Model
http://rvic.readthedocs.org
GNU General Public License v3.0
34 stars 58 forks source link

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

Open LahaSourav opened 5 years ago

LahaSourav commented 5 years ago

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'