Closed mikejohnson51 closed 2 years ago
We are getting a memory limit error in VPU 10L, during second call of prep_for_ngen --> add_hydroseq:
prep_for_ngen
add_hydroseq
aggregate_network_to_distribution( gf = g01, outfile = g02, routelink_path = get_routelink_path(), overwrite = FALSE ) #> INFO [2022-07-20 12:50:37] Processing 10L #> INFO [2022-07-20 12:50:37] refactor_10L.gpkg --> ngen_10L.gpkg #> INFO [2022-07-20 12:53:24] Merged to idealized catchment size of 10 sqkm #> INFO [2022-07-20 12:55:01] Forced aggregation of catchments less then 3 sqkm and flowpaths shorter then 1 km. Error: vector memory exhausted (limit reached?)
Solution: ensuring that sf class attributes are dropped!
see USGS-R/nhdplusTools/issues/290
We are getting a memory limit error in VPU 10L, during second call of
prep_for_ngen
-->add_hydroseq
: