[postgis-users] Creating ensemble and aggregates from netCDF

Thiemo Kellner thiemo at gelassene-pferde.biz
Thu Jan 28 13:43:37 PST 2021


Hi all

I have downloaded climate forecast raster data in NetCDF 3.6 format  
(https://nedlasting.nve.no/klimadata/kss) for a series of models and  
time resolution of one day. The data is one file per model.  
Eventually, I would like to have an ensemble file with aggregated data  
over the time axis, e.g. monthly or quarterly. Maybe it gets clearer  
when I just list some names of the files I have:

rcp85_CNRM_CCLM_RR_daily_mm_2100.nc
rcp85_CNRM_RCA_RR_daily_mm_2100.nc
rcp85_EC-EARTH_CCLM_RR_daily_mm_2100.nc

I expect all the files to have the same extent and resolution;  
gdalinfo excerpts of arbitrary two files https://pastebin.com/UtxXDDGp  
support my assumption.

Being a complete noob, I assume that the ensemble would just be the  
arithmetic average, but I do not know how to average the "payload"  
axis of rasters over different layers nor over its time series/bands.

I have not been able to find guidance on ecosia.org or the  
documentation and also tried to employ QGIS for this, but I am stuck  
there as much as I am with PostGIS.

I would appreciate guidance very much.

Kind regards

Thiemo

-- 
S/MIME Public Key: https://oc.gelassene-pferde.biz/index.php/s/eJuAUFONag6ofnH
Signal (Safer than WhatsApp): +49 1578 7723737
Threema (Safer than WhatsApp): A76MKH3J
Handys: +41 78 947 36 21 | +49 1578 772 37 37
-------------- next part --------------
_______________________________________________
postgis-users mailing list
postgis-users at lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/postgis-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4001 bytes
Desc: S/MIME Signature
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20210128/8882bb24/attachment.bin>


More information about the postgis-users mailing list