Open lbross opened 5 years ago
Hru_Depl_Curve and jh_coeff models both use the zonal statistics as table tool. I wasn't able to get these tool to run in BAGIS-P until I opened them, ran them through ModelBuilder and saved them. They are both in the bagis_p_climate_methods.tbx. I uploaded a version of this toolbox to basins in a folder called /BAGIS/BAGIS-P Models/For ArcGIS10.5.X and later. I validated my changes on two different AOIs so hopefully they will work on other computers. ModelBuilder removes the wildcards from some of the paths so I had to set those back before saving my final version.
Updated: This is also a problem with the JH_Coef_AOI model in the bagis_method_building_blocks.tbx. This model is used when exporting the parameters for an AOI. An updated copy of the toolbox is available on basins.
Unable to use ExtractByMask to write to FGDB in this version of ArcGIS. Sent e-mail to @jdduh. This makes the convert DEM to ASCII portion of the parameter export fail.
Writing output for ExtractByMask to file gdb which works while writing to a folder does not. Also replaced the GeoAnalyst code with Geoprocessor in the export functions for increased stability. The same code can be deployed in both 10.2.2 and 10.5.
It seems that the value for Zone in the zonal statistics as table tool is not retained when a 10.2.2 model is opened in 10.5. This causes the model to fail when BAGIS-P runs it. Example from Hru_Depl_Curve:![image](https://user-images.githubusercontent.com/11527966/47396792-1bf7a400-d6e1-11e8-9993-0c6c514c39d2.png)