You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the clinic today! I think this is the error mentioned by a couple of other people, running the 2nd code block for the Treynor example in TopoFlow_Getting_Started.ipynb
Thanks for the clinic today! I think this is the error mentioned by a couple of other people, running the 2nd code block for the Treynor example in TopoFlow_Getting_Started.ipynb
TypeError Traceback (most recent call last)
in
2 cfg_prefix = 'June_07_67'
3 cfg_dir = cfg_directory + '__No_Infil_June_07_67_Rain/'
----> 4 main.run_model(cfg_prefix=cfg_prefix, cfg_directory=cfg_dir,
5 time_interp_method=time_interp_method)
c:\users\mason\topoflow36\topoflow\main.py in run_model(driver_comp_name, cfg_prefix, cfg_directory, SILENT, time_interp_method)
34 cfg_directory = examples_dir + 'Treynor_Iowa_30m/'
35
---> 36 f.run_model( driver_comp_name =driver_comp_name ,
37 cfg_prefix=cfg_prefix,
38 cfg_directory=cfg_directory,
c:\users\mason\topoflow36\topoflow\framework\emeli.py in run_model(self, driver_comp_name, cfg_directory, cfg_prefix, SILENT, time_interp_method)
1329 #------------------------------------------------------------
1330 ## OK = self.initialize_comp_set( REPORT=True )
-> 1331 OK = self.initialize_comp_set( REPORT=False )
1332 if not(OK):
1333 return
c:\users\mason\topoflow36\topoflow\framework\emeli.py in initialize_comp_set(self, REPORT)
1827 #-------------------------------------------
1828 cfg_file = self.get_cfg_filename( bmi )
-> 1829 self.initialize( provider_name, cfg_file )
1830 if not(self.SILENT):
1831 print('EMELI: Initialized component: ' + provider_name + '.')
c:\users\mason\topoflow36\topoflow\framework\emeli.py in initialize(self, comp_name, cfg_file)
1012 if (comp_name == self.driver_comp_name):
1013 mode = 'driver'
-> 1014 bmi.initialize( cfg_file=cfg_file, SILENT=self.SILENT,
1015 mode=mode )
1016
c:\users\mason\topoflow36\topoflow\components\met_base.py in initialize(self, cfg_file, mode, SILENT)
610
611 ## print ' Calling initialize_basin_vars()...'
--> 612 self.initialize_basin_vars() # (5/14/10)
613 #----------------------------------------------------
614 # NB! This read_input_files() uses self.time_index.
c:\users\mason\topoflow36\topoflow\utils\BMI_base.py in initialize_basin_vars(self)
2065 # basin_area and basin_relief into self. (9/19/14)
2066 #------------------------------------------------------------
-> 2067 outlets.read_outlet_file( self )
2068
2069 # initialize_basin_vars()
c:\users\mason\topoflow36\topoflow\utils\outlets.py in read_outlet_file(self)
104 n_lines = len(lines)
105
--> 106 outlet_cols = np.zeros(n_lines, dtype='Int64') ###
107 outlet_rows = np.zeros(n_lines, dtype='Int64')
108 basin_areas = np.zeros(n_lines, dtype='Float64')
TypeError: data type 'Int64' not understood
The text was updated successfully, but these errors were encountered: