Closed rogerkuou closed 4 months ago
Might be useful to check: https://github.com/Deltares/xugrid https://xesmf.readthedocs.io/en/latest/
Hi @SarahAlidoost, Freek shared the saptio-temporal data they would like to work with in #64. These data are more relevant than the KNMI dataset. I will copy his message here:
This is the link:
https://www.daggegevens.knmi.nl/klimatologie/uurgegevens
The idea would be to insert meteo data into the STM of the data (e.g. temperature, pressure) closest to the SAR satellite acquisition. (But maybe also: the sum of rainfall in the last 3 days, etc).
Furthermore, I attached:
- an example data file (just 1000 lines) knmi_stn280_example_file.txt
- two old Matlab scripts, handling the data. importMeteodata_knmi.zip get_meteo.zip
- .csv file with KNMI station locations knmistations.csv (see also https://github.com/MotionbyLearning/sandbox/tree/develop_vector_processing for an example implementation using these station locations made earlier (in the 'step 3' script).
Add a
enrich_from_stm()
function to enrich a STM with spatial temporal data (another STM)This function should take another xr.Dataset with the same space/time dimension and CRS.
The enrichment should support block-wise operation as
enrich_from_polygon
.An example usage adapted from the Documentation example
Work example: enrich the STM (Zarr) over Amsterdam in demo with KNMI daily mean temperature.