Commit Graph

42 Commits

Author SHA1 Message Date
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 0e0c7b1bae fix a few bugs introduced in merge and update tests for #1373 2023-08-17 15:13:22 -07:00
James Douglass 5dfa2e1a3a Testing content of new vectors a bit. RE:#349 2023-05-03 09:44:14 -07:00
James Douglass 3e04b243a7 Creating subwatersheds vector. RE:#394 2023-04-29 16:25:37 -07:00
James Douglass f1bebafd30 Creating a strahler stream order vector in RouteDEM.
RE:#349
2023-04-29 16:16:53 -07:00
emlys 65166df547 replace up/downstream with up/downslope
replace up/downstream with up/downslope

add history note

update routedem arg name in tests

update arg name in ui config
2022-03-02 16:05:52 -08:00
Emily bb1acba7f6 resolved merge conflict 2020-07-31 15:48:18 -07:00
Emily 959d53c803 resolved merge conflicts 2020-07-31 15:28:06 -07:00
Emily c6a4acffd7 reduced tolerance values to be nice round numbers 2020-07-30 16:16:22 -07:00
Emily a80ea73448 #188 use assert_allclose for all approximate comparisons 2020-07-30 10:59:53 -07:00
Doug 79fed192db A lot of test linting and keyword update to SQ
Replacing 'projection' with 'projection_wkt' in SQ for PGP updates
2020-05-29 08:34:17 -04:00
Doug 46b19392d5 Issue #41 cleaning up some pycodestyle things 2020-03-12 11:35:12 -04:00
David Fisher 114cba480d merged develop, updated HISTORY. #BITBUCKET-3932. 2019-12-20 12:37:48 -08:00
David Fisher 02e7cf62b6 fix to array indexing since rasters created by fill_pits only ever have 1 band. #BITBUCKET-3932. 2019-12-16 09:09:51 -08:00
David Fisher 6bcdb8966a correcting a test given new behavior of fill_pits not copying all bands of the input DEM. #BITBUCKET-3932. 2019-12-16 08:48:49 -08:00
David Fisher 2ba1006053 tests for scenario generator validate function. #BITBUCKET-3912. 2019-11-08 14:52:28 -08:00
James Douglass bfd3186393 Correcting RouteDEM tests for the ARGS_SPEC changes.
RE:#BITBUCKET-3912
2019-10-08 14:18:24 -07:00
David Fisher 0988c7a88c GTiff only supports one nodata value per raster. also routedem tests passing in py36 and py27. #BITBUCKET-3895. 2019-06-28 14:01:09 -07:00
Joanna Lin 17d7acc22c remove pygeoprocessing.testing import and REGRESSION_DATA path variable from test_routedem.py since they're not used. #BITBUCKET-3847 2019-02-12 15:20:03 -08:00
James Douglass 96e5c7e70e Testing last line of coverage. RE:#BITBUCKET-3814 2019-01-14 16:41:32 -08:00
James Douglass 01ec5d09c8 Adding missing docstrings to tests. RE:#BITBUCKET-3814 2018-12-13 14:04:04 -08:00
James Douglass c8017c6d08 Refactoring to allow user-defined band index on DEM.
RE:#BITBUCKET-3814
2018-11-29 15:07:12 -08:00
James Douglass 41dc593a7d Adding tests for validation. RE:#BITBUCKET-3814 2018-11-29 12:45:32 -08:00
James Douglass ff92fdea23 Using older numpy.flipud rather than numpy.flip. RE:#BITBUCKET-3814 2018-11-28 16:54:55 -08:00
James Douglass 9e8a4d1079 Adding docstrings, removing todos. RE:#BITBUCKET-3814 2018-11-27 16:10:22 -08:00
James Douglass 38baa9b17a Fleshing out sums. RE:#BITBUCKET-3814 2018-11-27 16:07:22 -08:00
James Douglass a30be07d49 Adding assertion for stream mask. RE:#BITBUCKET-3814 2018-11-27 16:00:25 -08:00
James Douglass 784c092c02 Adding start to MFD test, correcting add_task call for MFD.
RE:#BITBUCKET-3814
2018-11-27 14:51:21 -08:00
James Douglass 5237e0df45 Asserting d8 downstream distance.
RE:#BITBUCKET-3814
2018-11-27 14:47:52 -08:00
James Douglass 659d266cd8 Testing d8 flow dir, flow accum.
RE:#BITBUCKET-3814
2018-11-27 14:38:10 -08:00
James Douglass 3482a74fb9 Asserting the stream mask. RE:#BITBUCKET-3814 2018-11-27 14:18:55 -08:00
James Douglass 291ad90741 Adding a couple tests for routedem.
RE:#BITBUCKET-3814
2018-11-27 13:34:05 -08:00
James Douglass 45e2b265ab Touching up pit in test, adding simple assertions.
RE:#BITBUCKET-3814
2018-11-27 12:47:23 -08:00
James Douglass bc01064cae Replacing old test suite with start of new test suite. RE:#BITBUCKET-3814 2018-11-27 11:54:33 -08:00
James Douglass 340d9bc101 Moving routedem to the natcap.invest module level. RE:#BITBUCKET-3814 2018-11-19 21:33:57 -08:00
Joanna Lin b33f520eb9 removed temporary path from routedem test. see #BITBUCKET-3792. 2018-09-05 15:45:31 -07:00
Joanna Lin bf933ece9a modified delineateIT datapath. see #BITBUCKET-3792. 2018-08-29 12:01:19 -07:00
Joanna Lin 0388b21e83 removed skipdata decorators. see #BITBUCKET-3792. 2018-08-29 11:06:07 -07:00
Joanna Lin 57a4c254e8 replaced pygeoprocessing .3.3 with 1.0 see #BITBUCKET-3792. 2018-08-29 11:05:41 -07:00
Rich Sharp e66aec3fb9 re #BITBUCKET-3646 update test case 2017-06-01 12:57:18 -07:00
Rich Sharp 41cc7c5011 re #BITBUCKET-3623 converted routedem to static pgp 0.3.3 2017-02-28 16:38:13 -08:00
Rich Sharp 89bd66efa0 re #BITBUCKET-3589 adding test coverage for single an multiple stream threshold runs 2016-10-06 14:28:21 -07:00