Commit Graph

90 Commits

Author SHA1 Message Date
Emily Soth bf1726ec88 restore compiled modules to the plugins branch 2025-05-08 14:38:09 -07:00
Emily Soth ef62d68a67 Merge branch 'main' into feature/plugins 2025-04-04 13:29:28 -07:00
Emily Soth 7909dfe27f abstract out flow dir arg spec to spec_utils and rename it 2025-03-26 10:33:07 -07:00
Emily Soth 70b320d5f6
Merge branch 'release/3.15.0' into feature/routing-refactor 2025-03-14 18:09:43 -07:00
Emily Soth 15d90eec22 update expected test values due to ndr grid shift from #1270 2025-03-11 18:22:02 -07:00
Emily Soth e9cd8e4c17
Merge branch 'release/3.15.0' into feature/routing-refactor 2025-03-11 11:50:42 -07:00
Claire Simpson dcec2dc03a cleaning up and removing unnecessary helper functions 2025-03-10 10:30:10 -06:00
Claire Simpson 2a0ccf37e5 updated to only test _normalize_raster; remove try/except in checking RP_av value 2025-03-07 13:28:12 -07:00
Claire Simpson 01f0b26458 clean up and simplify 2025-03-04 13:21:59 -07:00
Claire Simpson 705b07d417 close rasters after use in test 2025-03-04 12:08:54 -07:00
Claire Simpson 79c39d7060 merge main into release 2025-02-27 11:28:00 -07:00
Claire Simpson 8aee4a809c added test for user vs auto-calculation of runoff proxy avg 2025-02-21 15:17:12 -07:00
Emily Davis a9e367039b Get pixel size from test data rather than hard-coding 2025-02-10 17:16:46 -07:00
Emily Davis 1e75fa8a32 Merge branch 'release/3.15.0' of github.com:natcap/invest into feature/1270-per-hectare-outputs 2025-02-06 14:25:45 -07:00
dcdenu4 0e5261305f Skip compiled model tests 2025-02-05 09:52:24 -05:00
Emily Soth 87aa947a76 ndr: align rasters to DEM grid 2025-01-14 10:05:45 -08:00
Emily Soth 79279a02cf remove testing dir name 2025-01-07 18:26:33 -08:00
Emily Soth 94d697e2ae add expected values for D8 mode tests 2025-01-07 17:11:38 -08:00
Emily Soth 8769f9d851 Merge branch 'feature/routing-refactor' into feature/d8-routing 2024-12-16 14:32:39 -08:00
Emily Davis 7bee2ced53 Update NDR to produce per-hectare values in raster outputs 2024-12-06 19:16:28 -07: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
Emily Soth cbf809824d run and test ndr in D8 mode 2024-09-25 12:53:10 -07:00
Emily Soth 5932fdb646 remove extra changed files 2024-08-22 16:01:18 -07:00
Emily Soth 11ef40f95d NDR tests passing with new C++ implementation of managedraster 2024-07-18 14:19:58 -07:00
Emily Soth 8309411e49 modify invalid test geometry for ndr
The old geometry had its self intersection on the pixel centerpoint,
which should work, but didn't on M1 mac runners (see https://github.com/natcap/invest/issues/1562).
This modifies the geometry so that the pixel centerpoint is fully
within the geometry, which I'm hoping is more stable.
2024-05-01 12:07:34 -07:00
James Douglass 13c955a10a Testing masking.
RE:#1412
2023-10-06 14:16:16 -07:00
Emily Soth f693dc4bd0 Merge branch 'main' into task/1373 2023-09-06 15:51:59 -07:00
Emily Soth b4056b590c remove old SWY comments from NDR tests #1005 2023-08-21 10:09:19 -07:00
Emily Soth 3d296c9a8e add comments and improve history note #1005 2023-08-18 13:53:12 -07:00
Emily Soth 098a5bc4f2 separate out masking for DEM and LULC as well #1005 2023-08-18 13:49:12 -07:00
Emily Soth f4343e6619 separate regression test for #1005 2023-08-18 10:13:30 -07:00
Emily Soth f82729b9c9 fix ndr test #1373 2023-08-17 15:36:27 -07:00
Emily Soth 0e0c7b1bae fix a few bugs introduced in merge and update tests for #1373 2023-08-17 15:13:22 -07:00
Emily Soth 35769f54ba add regression test for #1005 and update expected result values 2023-08-11 12:09:00 -07:00
emlys 9a179eb67f Merge branch 'main' into task/494 2022-01-07 15:49:48 -08:00
emlys 2505480cfc clean up 2022-01-05 11:04:48 -08:00
emlys 97891a3a41 update ndr tests 2022-01-05 10:59:02 -08:00
James Douglass 4f54b32e93 Merge branch 'main' into pr-762-resolution
Conflicts:
	HISTORY.rst
	src/natcap/invest/ndr/ndr.py
	src/natcap/invest/sdr/sdr.py
2021-12-13 15:44:14 -08:00
James Douglass e413c7e7ff Using SDR function in NDR and asserting raster exists.
RE:#621
2021-12-03 14:37:31 -08:00
emlys 257183d510 Merge branch 'main' into pr-resolution 2021-09-22 15:24:12 -07:00
emlys 0a8d668be6 update sdr and ndr expected test data 2021-08-27 16:35:38 -07:00
emlys e7d8f673a9 update ndr test expected values 2021-08-05 12:34:11 -06:00
emlys 9020178cff reset sdr/ndr tests 2021-08-05 11:18:13 -06:00
emlys abd733a356 rename ndr stream file, add test 2021-07-27 11:30:47 -06:00
emlys 33d66a3d28 remove errant print statements and file 2021-05-14 14:26:20 -06:00
emlys eaa2328a27 ndr tests passing 2021-04-30 15:10:52 -06:00
emlys ad9d01da7d update deprecated LOGGER.warn, open U option, assertEquals 2020-11-17 14:59:34 -07:00
Doug 754961781f Update ndr test to catch bug properly 2020-10-02 16:14:15 -04:00
Doug ab42582cbc Update ndr test to catch bug 2020-10-02 15:49:20 -04:00
Emily 959d53c803 resolved merge conflicts 2020-07-31 15:28:06 -07:00