easysnowdata.processing.snow.snodas_array#

easysnowdata.processing.snow.snodas_array(data: bytes, header: Mapping[str, Any], *, name: str | None = None) DataArray[source]#

Build a georeferenced DataArray from one SNODAS .dat and its header.

The flat file is big-endian 16-bit integers in row-major order on the header’s geographic grid; the nodata sentinel is masked and the scale factor from Data units applied, so the result is metres (or the product’s own unit) as floats.