Commit Graph

182 Commits

Author SHA1 Message Date
Emily Soth 08795c94ee Merge branch 'main' into feature/plugins 2025-02-19 10:31:10 -08:00
Claire Simpson 7e0eb0d0df reorganization, linting, cleanup 2025-02-06 12:38:05 -07:00
Claire Simpson 83279d651b Add coastal vulnerability unit tests 2025-01-31 14:49:55 -07:00
Emily Soth 3bae582047 Merge branch 'main' into feature/plugins 2024-12-11 19:11:17 -08:00
James Douglass ec88d787e4
Merge pull request #1690 from emlys/task/1570
enable gdal.UseExceptions in entrypoints and tests
2024-11-21 16:36:26 -08:00
Emily Soth 579b0aa324 cleanup 2024-11-19 13:51:58 -08:00
Emily Soth ad59b739d2 enable gdal.UseExceptions in entrypoints and tests
Enable gdal exceptions in the CLI and server. Update all models to
expect and handle gdal exceptions where they are now raised.
2024-11-19 13:32:47 -08:00
davemfish b623e28e02 no need to open the dataset before translating it. #1686 2024-11-15 16:05:01 -05:00
davemfish d28d0682a9 use VectorTranslate instead of CopyDataSource for convenience and reliability. #1686 2024-11-15 13:15:12 -05:00
davemfish b5a681b4e2 reverting a change for debugging. #1657 2024-10-22 09:30:21 -04:00
davemfish 2b956f9f68 fixed a shapely 2.0 incompatibility; modified a test to cover it. #1657 2024-10-22 09:29:45 -04:00
davemfish e1698aba6e move a test to be near other related tests. #1657 2024-10-22 08:50:23 -04:00
Emily Soth 70fb9d2c35 Merge branch 'main' into feature/plugins 2024-04-26 10:51:15 -07:00
Emily Soth b0b46009aa Merge branch 'main' into feature/plugins 2024-03-22 17:35:05 -07:00
Emily Soth d8f8458f6d Merge branch 'main' into feature/327 2024-03-12 09:45:41 -07:00
Emily Soth 0f838b6b02 remove getVectorColNames test from server tests, move to CV 2024-02-23 16:17:19 -08:00
davemfish 69fabb1500 add tests to cover nan nodata in bathymetry. #1528 2024-02-20 13:54:43 -05:00
Emily Soth 0152fba78f work in progress: updating tests 2024-01-18 17:30:36 -08:00
Emily Soth 4b581bc851 replace kernel functions with pygeoprocessing.kernels 2023-11-01 10:43:37 -07:00
Emily Soth 0a9c9c629e remove redundant validation and tests #1374 2023-10-17 17:02:18 -07:00
James Douglass 35ce437968 Merge branch 'release/3.13.0' of https://github.com/natcap/invest into feature/urban-nature-access
Conflicts:
	Makefile
	installer/windows/invest_installer.nsi
	src/natcap/invest/ui/cbc.py
	tests/test_model_specs.py
2023-03-10 11:35:35 -08:00
Emily Soth 1fd8f4c78e Merge branch 'release/3.13.0' into feature/output-spec 2023-03-01 11:13:58 -08:00
James Douglass a670bc7694 Merge branch 'release/3.13.0' of https://github.com/natcap/invest into feature/722-una-add-sample-data
Conflicts:
	Makefile
	src/natcap/invest/globio.py
	src/natcap/invest/scenario_gen_proximity.py
2023-02-24 13:45:52 -08:00
Emily Soth 3d8393c89b fix test hanging bug 2022-12-15 13:00:41 -08:00
James Douglass 3a20dcad65 Minor tweaks in response to DeprecationWarnings and FutureWarnings. 2022-11-01 15:27:40 -07:00
Emily Soth bffbb342f6 rename ARGS_SPEC to MODEL_SPEC everywhere 2022-09-27 17:10:37 -07:00
davemfish 8bf0f73380 minor update to docstring, function name. #1040. 2022-07-29 16:05:02 -04:00
davemfish 4c21c68fe8 added test using coordinates from real data. #1040. 2022-07-29 15:56:46 -04:00
davemfish e365b2e527 lots of debug statements. #1040 2022-07-28 16:58:43 -04:00
James Douglass 90655270cc Setting a bathymetry nodata value if one is not otherwise set. RE:#992 2022-05-26 16:25:39 -07:00
James Douglass 6bb69c1732 Handling unset nodata in bathymetry masking.
RE:#992
2022-05-19 13:59:40 -07:00
Emily Soth 401cdf132e
Merge branch 'main' into task/763 2022-01-11 17:06:22 -08:00
emlys 2adf2390b5 refactor CV to avoid deprecated shapely things 2022-01-11 15:13:25 -08:00
emlys 127f6837cd Merge branch 'release/3.10' into task/568 2021-12-03 16:13:51 -08:00
davemfish 628913dbc9 Rhab for a point should be nan if any individual habitat was missing data. #581. 2021-12-02 12:07:23 -05:00
davemfish ca68a1a59f moved test to be near related test. #581. 2021-12-02 11:41:16 -05:00
davemfish f4f41e2b31 aggregate raster function should return nan if the point and radius are completely outside the raster. #581. 2021-12-02 11:40:10 -05:00
davemfish 8761dd367a update text string. #581. 2021-11-30 17:04:37 -05:00
Emily Soth 26b0916624
Merge branch 'release/3.10' into task/568 2021-11-30 10:42:14 -08:00
davemfish d2e25895d4 guard against numpy runtime warnings in mean operations. #581. 2021-11-30 10:25:55 -05:00
davemfish e5cf47fa97 added a docstring. #581. 2021-11-29 09:07:22 -05:00
davemfish b36b9923f9 make the data produced by search for vector same structure as search for raster. #581. 2021-11-27 17:30:53 -05:00
davemfish 63a5fd1e6d filled in the raster habitat_op. #581. 2021-11-27 17:18:27 -05:00
davemfish 0f1501c52f cleaned up some variable names and missing args. #581. 2021-11-27 16:43:52 -05:00
davemfish b426d5d8f6 removed an old testing workaround for minor gdal version differences. #581. 2021-11-27 16:32:37 -05:00
davemfish dad1fcab32 modify the aggregate raster function to take an arbitrary aggregator function. #581. 2021-11-26 12:23:50 -05:00
davemfish eb637c55ae added test to assert same number of shore points on landmass with and without holes. #627. 2021-11-22 10:08:26 -05:00
emlys 7e59939788 move model specific validation messages to top level 2021-11-08 17:19:16 -08:00
emlys 44761956e6 Merge branch 'release/3.10' into task/568 2021-10-11 16:15:17 -07:00
emlys 76ab2a25e8 consolidate validation messages into one locations 2021-09-28 17:27:44 -07:00