Skip to content

Select

With rekx we can retrieve values from Xarray-supported data

cd data/single_file/
rekx select SISin202001010000004231000101MA.nc SIS 8 45
[  0   0   0   0   0   0   0   0   0   0   0   0   0   0   0  46 114 179
 238 290 333 359 379 377 372 344 306 262 206 137  69   0   0   0   0   0
   0   0   0   0   0   0   0   0   0   0   0   0]

or print the regular Xarray-style data array overview

rekx select SISin202001010000004231000101MA.nc SIS 8 45 -v
✓ Coordinates : 8.0, 45.0.
<xarray.DataArray 'SIS' (time: 48)>
[48 values with dtype=int16]
Coordinates:
  * time     (time) datetime64[ns] 2020-01-01 ... 2020-01-01T23:30:00
    lon      float32 8.025
    lat      float32 45.03
Attributes:
    _FillValue:     -999
    missing_value:  -999
    standard_name:  surface_downwelling_shortwave_flux_in_air
    long_name:      Surface Downwelling Shortwave Radiation
    units:          W m-2
    cell_methods:   time: point