Output data and formats

The data can be saved in csv netcdf or hdf5 format. If you whish to save spatial data you should consider using the netcdf or hdf5 fromat.

Output Coordinates

Output coordinates regardless of the desired output shape the data will have two coordinates (X) and (Y) in the koordinate system of the given input shape file attached. Hence a typical output dataset might look like this:

[1]:

[1]:
<Dataset>
Dimensions:  (rlat: 110, rlon: 105, time: 59)
Coordinates:
  * rlat     (rlat) float64 0.6738 0.679 0.6843 0.6896 ... 1.241 1.246 1.251
  * rlon     (rlon) float64 -3.089 -3.083 -3.078 -3.073 ... -2.549 -2.544 -2.539
  * time     (time) datetime64[ns] 1999-01-01 1999-01-02 ... 1999-02-28
    height   float64 2.0
    Y        (rlat, rlon) float64 5.687e+06 5.687e+06 ... 5.754e+06 5.754e+06
    X        (rlat, rlon) float64 3.644e+05 3.65e+05 ... 4.225e+05 4.231e+05
Data variables:
    pr       (time, rlat, rlon) float64 ...
    tas      (time, rlat, rlon) float64 ...
Attributes: (12/42)
    CDI:                            Climate Data Interface version 1.9.8 (htt...
    history:                        Mon Mar 29 18:31:53 2021: cdo -O -s -f nc...
    Conventions:                    CF-1.6
    tracking_id:                    5bbfc8a6-d228-4b84-9ed8-a9f1ecb6bfa1
    creation_date:                  2021-03-29T18:31:53Z
    CDO:                            Climate Data Operators version 1.9.8 (htt...
    ...                             ...
    ensemble_member:                mpi-m-mpi-esm-lr-gerics-remo2015_r1i1p1
    experiment:                     historical
    output_freqeuncy:               day
    shape_file:                     /work/ch1187/regiklim-work/b381427/LK_EE_...
    swift_group:                    ch1187
    path_prefix:                    ProcessedModelData-nukleus-ger-3km-pr_tas

The X and Y arrays describe the coordinate in the coordinate system of the input shapefile (in this case EPSG:25833). Hence thier unit might vary between degrees and metres.