Skip to content

Discrepenceis between watershed size reported by RVIC and /watershed API #161

@corviday

Description

@corviday

@sum1lim has found some discrepancies between the number of upstream cells as reported by RVIC and the number reported by the /watershed API.

Lat Lon Upstream cells Watershed API Upstream cells RVIC
-120.8 56.2 1 1
-117.6 55.6 10 10
-121.4 56.1 50 50
-120.3 56 140 2
-121.7 56.4 282 282
-121.6 56.3 360 360
-120.9 56.1 486 486
-120.5 56.2 631 631
-117.7 55.5 1351 2
-117.4 56.1 1948 1941
-122 56 2867 2824
-121.9 56 2868 2752
-121.8 56.1 2900 2893
-121.7 56.1 2925 2918
-121.3 56.2 3300 3293
-121.1 56.2 3342 3903
-120.5 56.1 3921 3335
-120.3 56.1 4558 4550
-120.1 56.1 4708 4700
-118.9 56.1 5104 5096
-118.6 55.9 5248 5140
-118.5 55.9 5256 5247
-118.3 55.9 5264 5256
-118.2 55.9 5266 5258
-118 55.9 5363 5266
-117.8 56 5387 5262
-117.5 56.1 5404 5393

Possibilities:

  • domain file has been updated and we're using an out of date version for the watershed API
  • issues with numerical parsing, possibly of floating point numbers, they aren't running exactly the same point
  • bug in watershed API
  • weirdness around grid cells that are partially within a watershed - maybe RVIC ignores this, or doesn't give them full credit? The watershed API counts any square that's in the watershed as a full square.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions