Skip to content

snodas - enhancement spec #6

Open
@jdduh

Description

@jdduh

NWCC would like to summarize the SNODAS SWE data in the different elevation zones in the AOI. The statistics to be calculated for these zones and the complete AOIs are: mean/max/min and quartiles (1st, 2nd, and 3rd) for the SWE pixels within each zone/AOI.

The intervals of the elevation zones are pre-determined: 0-1000 ft, 1000-2000 ft, 2000-3000 ft, ... 13000-14000 ft, and 14000 ft and above. Most, if not all, AOIs have only a subset of these zones.

Given that the SNDAS SWE data's format is fairly static, I'm thinking of having a different database solution to solve this problem (and some other problems). We could save the value of each daily SWE pixel as a record in the database and link that record to its associated stationTriplet and elevation zone. We can bypass any "spatial analysis" and just perform database queries to get the statistics.

One advantage of this approach is that the SWE pixels are pre-assigned to the AOI/Zone, we could apply more appropriate rules to determine which SWE pixel is in which AOI/Zone (i.e., areal weighted if we also keep track of the area proportions of the pixel in each AOI/zone).

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions