Coarsen a dataset#
coarsen_dataset is used to perform block aggregation along specified dimensions.
import ecodata as eco
import xarray as xr
# ECMWF dataset
filein = eco.get_path("ECMWF_subset.nc")
ds = xr.load_dataset(filein)
ds
<xarray.Dataset>
Dimensions: (longitude: 81, latitude: 41, time: 8784)
Coordinates:
* longitude (longitude) float32 -130.0 -129.8 -129.5 ... -110.2 -110.0
* latitude (latitude) float32 60.0 59.75 59.5 59.25 ... 50.5 50.25 50.0
* time (time) datetime64[ns] 2008-01-01 ... 2008-12-31T23:00:00
Data variables:
spatial_ref int64 0
u10 (time, latitude, longitude) float32 1.148 1.015 ... 9.102 10.09
v10 (time, latitude, longitude) float32 0.9952 0.3224 ... 1.36 1.25
t2m (time, latitude, longitude) float32 249.6 249.1 ... 270.1 270.2
Attributes:
Conventions: CF-1.6
history: 2022-06-14 00:45:00 GMT by grib_to_netcdf-2.24.3: /opt/ecmw...xarray.Dataset
- longitude: 81
- latitude: 41
- time: 8784
- longitude(longitude)float32-130.0 -129.8 ... -110.2 -110.0
- units :
- degrees_east
- long_name :
- longitude
- axis :
- X
- standard_name :
- longitude
array([-130. , -129.75, -129.5 , -129.25, -129. , -128.75, -128.5 , -128.25, -128. , -127.75, -127.5 , -127.25, -127. , -126.75, -126.5 , -126.25, -126. , -125.75, -125.5 , -125.25, -125. , -124.75, -124.5 , -124.25, -124. , -123.75, -123.5 , -123.25, -123. , -122.75, -122.5 , -122.25, -122. , -121.75, -121.5 , -121.25, -121. , -120.75, -120.5 , -120.25, -120. , -119.75, -119.5 , -119.25, -119. , -118.75, -118.5 , -118.25, -118. , -117.75, -117.5 , -117.25, -117. , -116.75, -116.5 , -116.25, -116. , -115.75, -115.5 , -115.25, -115. , -114.75, -114.5 , -114.25, -114. , -113.75, -113.5 , -113.25, -113. , -112.75, -112.5 , -112.25, -112. , -111.75, -111.5 , -111.25, -111. , -110.75, -110.5 , -110.25, -110. ], dtype=float32) - latitude(latitude)float3260.0 59.75 59.5 ... 50.5 50.25 50.0
- units :
- degrees_north
- long_name :
- latitude
- axis :
- Y
- standard_name :
- latitude
array([60. , 59.75, 59.5 , 59.25, 59. , 58.75, 58.5 , 58.25, 58. , 57.75, 57.5 , 57.25, 57. , 56.75, 56.5 , 56.25, 56. , 55.75, 55.5 , 55.25, 55. , 54.75, 54.5 , 54.25, 54. , 53.75, 53.5 , 53.25, 53. , 52.75, 52.5 , 52.25, 52. , 51.75, 51.5 , 51.25, 51. , 50.75, 50.5 , 50.25, 50. ], dtype=float32) - time(time)datetime64[ns]2008-01-01 ... 2008-12-31T23:00:00
- long_name :
- time
array(['2008-01-01T00:00:00.000000000', '2008-01-01T01:00:00.000000000', '2008-01-01T02:00:00.000000000', ..., '2008-12-31T21:00:00.000000000', '2008-12-31T22:00:00.000000000', '2008-12-31T23:00:00.000000000'], dtype='datetime64[ns]')
- spatial_ref()int640
- crs_wkt :
- GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AXIS["Latitude",NORTH],AXIS["Longitude",EAST],AUTHORITY["EPSG","4326"]]
- semi_major_axis :
- 6378137.0
- semi_minor_axis :
- 6356752.314245179
- inverse_flattening :
- 298.257223563
- reference_ellipsoid_name :
- WGS 84
- longitude_of_prime_meridian :
- 0.0
- prime_meridian_name :
- Greenwich
- geographic_crs_name :
- WGS 84
- grid_mapping_name :
- latitude_longitude
- spatial_ref :
- GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AXIS["Latitude",NORTH],AXIS["Longitude",EAST],AUTHORITY["EPSG","4326"]]
- GeoTransform :
- -130.125 0.25 0.0 60.125 0.0 -0.25
array(0)
- u10(time, latitude, longitude)float321.148 1.015 0.7714 ... 9.102 10.09
- units :
- m s**-1
- long_name :
- 10 metre U wind component
- grid_mapping :
- spatial_ref
array([[[ 1.1477809 , 1.0153666 , 0.7714455 , ..., 1.766046 , 1.7182574 , 1.662504 ], [ 0.683833 , 1.4673672 , 1.4594023 , ..., 1.773015 , 1.6943631 , 1.5101779 ], [ -0.65126127, 0.9267585 , 1.5818608 , ..., 1.657526 , 1.7341869 , 1.8058698 ], ..., [-11.273275 , -10.923821 , -10.524588 , ..., 2.1622932 , 2.6182761 , 3.4067883 ], [-11.358897 , -10.986544 , -10.602243 , ..., 1.8267772 , 2.340505 , 2.956779 ], [-11.259337 , -10.9566765 , -10.571381 , ..., 1.4444685 , 1.9611828 , 2.6332102 ]], [[ 1.1816311 , 1.2294197 , 1.0910318 , ..., 2.1125133 , 2.044813 , 1.9522223 ], [ 0.558388 , 1.3100629 , 1.3628294 , ..., 2.0328658 , 1.9492357 , 1.7769976 ], [ -0.5666356 , 1.0054107 , 1.6505568 , ..., 1.8875086 , 1.9791036 , 2.086628 ], ... [ 11.215248 , 11.254076 , 11.12664 , ..., 7.792389 , 7.9825478 , 8.159764 ], [ 11.214252 , 11.257063 , 11.319786 , ..., 9.639219 , 9.493862 , 9.462999 ], [ 10.905618 , 10.799089 , 10.861812 , ..., 9.942877 , 9.795528 , 10.586031 ]], [[ -0.35158682, 0.31148016, 0.683833 , ..., -1.6777208 , -1.9156682 , -2.374638 ], [ -1.4397733 , -0.45114642, 0.06457233, ..., -1.8688753 , -1.9614656 , -2.0411134 ], [ -1.6866812 , -0.9947419 , -0.5297985 , ..., -1.913677 , -2.0102499 , -2.2701004 ], ..., [ 10.611917 , 10.809045 , 10.85086 , ..., 7.030758 , 7.308529 , 7.580327 ], [ 10.511362 , 10.64278 , 10.788137 , ..., 8.88854 , 8.955245 , 9.073721 ], [ 10.237573 , 10.166885 , 10.3122425 , ..., 9.035889 , 9.101598 , 10.090224 ]]], dtype=float32) - v10(time, latitude, longitude)float320.9952 0.3224 -0.2894 ... 1.36 1.25
- units :
- m s**-1
- long_name :
- 10 metre V wind component
- grid_mapping :
- spatial_ref
array([[[ 9.95162964e-01, 3.22419286e-01, -2.89350629e-01, ..., -1.46817660e+00, -1.50069571e+00, -1.56370211e+00], [ 1.44027138e+00, 1.05816913e+00, 6.06963456e-01, ..., -1.81674314e+00, -1.91430116e+00, -2.12262797e+00], [ 1.32238877e+00, 8.98621202e-01, 8.56955826e-01, ..., -2.04742718e+00, -2.01795650e+00, -1.90718746e+00], ..., [ 1.49296970e+01, 1.46847858e+01, 1.44906864e+01, ..., 5.49038410e-01, 6.04930997e-01, 3.71198297e-01], [ 1.51634293e+01, 1.48971777e+01, 1.45150757e+01, ..., 6.37197495e-03, -2.41587877e-01, -5.77959776e-01], [ 1.52203388e+01, 1.49571352e+01, 1.45730009e+01, ..., 4.83999729e-01, 2.35023618e-01, -9.62671041e-02]], [[ 1.07341266e+00, 4.30139542e-01, -1.44029856e-01, ..., -1.44988441e+00, -1.48341990e+00, -1.53931260e+00], [ 1.41588187e+00, 1.02564991e+00, 5.87655067e-01, ..., -1.81369448e+00, -1.90210629e+00, -2.06470299e+00], [ 1.12117541e+00, 7.44154394e-01, 6.77083254e-01, ..., -2.01287532e+00, -2.09722233e+00, -2.14701748e+00], ... -1.44029856e-01, 7.44593143e-02, 7.64918327e-02], [ 1.82948709e+00, 1.95753193e+00, 1.98395395e+00, ..., 1.30612910e+00, 9.82968211e-01, 8.02079439e-01], [ 1.36100554e+00, 1.50124514e+00, 1.52868330e+00, ..., 2.34471536e+00, 2.01850581e+00, 1.89147711e+00]], [[-1.27770185e-01, 3.99075747e-02, 9.68164206e-02, ..., -6.38933420e-01, -5.86089611e-01, -6.14543915e-01], [-1.36655354e+00, -1.22326517e+00, -1.09420419e+00, ..., -6.71452761e-01, -6.42998457e-01, -7.71043301e-01], [-2.27709484e+00, -2.22628355e+00, -1.99763179e+00, ..., -6.58241749e-01, -6.49095774e-01, -7.45637655e-01], ..., [ 1.24718785e+00, 1.54189432e+00, 1.81729245e+00, ..., -2.05758929e+00, -1.83198643e+00, -1.81369448e+00], [ 1.39555728e+00, 1.63030624e+00, 1.74717259e+00, ..., -1.19640350e-01, -2.78172135e-01, -3.59470487e-01], [ 8.47809732e-01, 1.03987706e+00, 1.15979218e+00, ..., 1.51852095e+00, 1.35998929e+00, 1.25023651e+00]]], dtype=float32) - t2m(time, latitude, longitude)float32249.6 249.1 247.7 ... 270.1 270.2
- units :
- K
- long_name :
- 2 metre temperature
- grid_mapping :
- spatial_ref
array([[[249.59415, 249.13521, 247.71729, ..., 254.0473 , 253.79568, 253.44121], [252.33504, 252.72433, 251.8856 , ..., 254.42236, 254.17232, 253.90805], [251.23045, 252.3208 , 252.53442, ..., 254.8164 , 254.90344, 255.18196], ..., [279.43066, 279.56516, 279.67438, ..., 253.8669 , 252.70377, 250.8 ], [279.4718 , 279.5715 , 279.63162, ..., 256.66635, 254.16124, 251.63557], [279.60474, 279.57468, 279.6348 , ..., 257.61584, 255.0965 , 254.80533]], [[249.54666, 248.86302, 247.42769, ..., 254.09477, 253.81468, 253.4507 ], [252.17679, 252.43 , 251.58809, ..., 254.46191, 254.18498, 253.90172], [251.27475, 252.13564, 252.48854, ..., 254.85121, 254.87495, 255.08542], ... [278.0634 , 278.05862, 277.99692, ..., 269.62704, 269.74573, 269.6397 ], [277.71365, 277.74844, 277.79593, ..., 270.88354, 271.01807, 271.02756], [277.66776, 277.82126, 277.86557, ..., 271.00226, 271.13675, 271.31082]], [[248.49113, 248.85353, 248.9469 , ..., 239.98834, 239.96144, 239.70982], [247.92143, 248.44524, 248.67628, ..., 241.49173, 241.57559, 241.60724], [247.04947, 247.17924, 247.54163, ..., 242.3447 , 243.2214 , 244.14716], ..., [277.99216, 277.94785, 277.9004 , ..., 269.41183, 269.5321 , 269.3881 ], [277.71048, 277.71997, 277.7896 , ..., 270.3202 , 270.44205, 270.4373 ], [277.64243, 277.77853, 277.84656, ..., 269.9942 , 270.1192 , 270.22998]]], dtype=float32)
- Conventions :
- CF-1.6
- history :
- 2022-06-14 00:45:00 GMT by grib_to_netcdf-2.24.3: /opt/ecmwf/mars-client/bin/grib_to_netcdf -S param -o /cache/data3/adaptor.mars.internal-1655167264.1047153-28011-19-b4a2bb83-8868-486b-bf8e-d7bf035eb998.nc /cache/tmp/b4a2bb83-8868-486b-bf8e-d7bf035eb998-adaptor.mars.internal-1655166317.8944476-28011-26-tmp.grib
Apply block aggregation along specified dimensions#
This example will take a block mean across every 5 points in the time dimension, and every 4 points in the latitude and longitude dimensions:
ds2 = eco.coarsen_dataset(ds, {'time': 5, 'latitude': 4, 'longitude': 4})
ds2
<xarray.Dataset>
Dimensions: (time: 1756, latitude: 10, longitude: 20)
Coordinates:
* longitude (longitude) float32 -129.6 -128.6 -127.6 ... -111.6 -110.6
* latitude (latitude) float32 59.62 58.62 57.62 ... 52.62 51.62 50.62
* time (time) datetime64[ns] 2008-01-01T02:00:00 ... 2008-12-31T17:...
Data variables:
spatial_ref int64 0
u10 (time, latitude, longitude) float32 0.6489 -0.1787 ... -0.5751
v10 (time, latitude, longitude) float32 0.3738 0.3756 ... 6.851
t2m (time, latitude, longitude) float32 250.3 247.3 ... 265.9 265.7
Attributes:
Conventions: CF-1.6
history: 2022-06-14 00:45:00 GMT by grib_to_netcdf-2.24.3: /opt/ecmw...xarray.Dataset
- time: 1756
- latitude: 10
- longitude: 20
- longitude(longitude)float32-129.6 -128.6 ... -111.6 -110.6
- units :
- degrees_east
- long_name :
- longitude
- axis :
- X
- standard_name :
- longitude
array([-129.625, -128.625, -127.625, -126.625, -125.625, -124.625, -123.625, -122.625, -121.625, -120.625, -119.625, -118.625, -117.625, -116.625, -115.625, -114.625, -113.625, -112.625, -111.625, -110.625], dtype=float32) - latitude(latitude)float3259.62 58.62 57.62 ... 51.62 50.62
- units :
- degrees_north
- long_name :
- latitude
- axis :
- Y
- standard_name :
- latitude
array([59.625, 58.625, 57.625, 56.625, 55.625, 54.625, 53.625, 52.625, 51.625, 50.625], dtype=float32) - time(time)datetime64[ns]2008-01-01T02:00:00 ... 2008-12-...
- long_name :
- time
array(['2008-01-01T02:00:00.000000000', '2008-01-01T07:00:00.000000000', '2008-01-01T12:00:00.000000000', ..., '2008-12-31T07:00:00.000000000', '2008-12-31T12:00:00.000000000', '2008-12-31T17:00:00.000000000'], dtype='datetime64[ns]')
- spatial_ref()int640
- crs_wkt :
- GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AXIS["Latitude",NORTH],AXIS["Longitude",EAST],AUTHORITY["EPSG","4326"]]
- semi_major_axis :
- 6378137.0
- semi_minor_axis :
- 6356752.314245179
- inverse_flattening :
- 298.257223563
- reference_ellipsoid_name :
- WGS 84
- longitude_of_prime_meridian :
- 0.0
- prime_meridian_name :
- Greenwich
- geographic_crs_name :
- WGS 84
- grid_mapping_name :
- latitude_longitude
- spatial_ref :
- GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AXIS["Latitude",NORTH],AXIS["Longitude",EAST],AUTHORITY["EPSG","4326"]]
- GeoTransform :
- -130.125 0.25 0.0 60.125 0.0 -0.25
array(0)
- u10(time, latitude, longitude)float320.6489 -0.1787 ... 0.2436 -0.5751
- units :
- m s**-1
- long_name :
- 10 metre U wind component
- grid_mapping :
- spatial_ref
array([[[ 6.48887694e-01, -1.78701580e-01, -4.82258797e-01, ..., 2.27854133e+00, 2.09153128e+00, 2.22638464e+00], [-1.91622829e+00, -9.52254772e-01, -3.07062361e-02, ..., 1.68607485e+00, 2.08435035e+00, 2.41244936e+00], [-1.76774752e+00, -1.41157305e+00, -1.37446237e+00, ..., 2.41619492e+00, 9.01520133e-01, 1.46494043e+00], ..., [-1.15515575e+01, -4.85883617e+00, -1.92904663e+00, ..., 2.88646460e+00, 2.68539214e+00, 3.00677013e+00], [-1.29971867e+01, -1.12874746e+01, -4.67014647e+00, ..., 2.45909262e+00, 2.56494951e+00, 2.82858324e+00], [-1.28996449e+01, -1.19962788e+01, -7.42488623e+00, ..., 9.57547367e-01, 8.95359874e-01, 2.07084775e+00]], [[-8.47955607e-03, -2.43353099e-01, -4.76820379e-01, ..., 2.37613487e+00, 2.37199092e+00, 2.56127834e+00], [-2.26121473e+00, -1.27657008e+00, -4.04614776e-01, ..., 2.01483345e+00, 2.44484305e+00, 2.56180096e+00], [-1.90976930e+00, -1.71320152e+00, -1.85114133e+00, ..., 1.76725328e+00, 1.11266112e+00, 1.51071298e+00], ... -4.60472345e+00, -5.06590843e+00, -4.30512428e+00], [ 1.48194304e+01, 1.40103731e+01, 5.15737009e+00, ..., -3.93968964e+00, -4.24294853e+00, -4.28356886e+00], [ 1.58358688e+01, 1.48018703e+01, 7.28444910e+00, ..., -2.03377104e+00, -2.84539294e+00, -3.29036212e+00]], [[-7.94033185e-02, 8.46335441e-02, 3.89730409e-02, ..., -3.88734996e-01, -8.59054565e-01, -1.74035621e+00], [-1.68745267e+00, -1.38475430e+00, -2.04587072e-01, ..., -1.21633673e+00, -1.33772480e+00, -1.38872409e+00], [-2.00194031e-01, -6.43433392e-01, -9.42597568e-01, ..., -2.52818441e+00, -4.75824773e-01, -1.86316299e+00], ..., [ 9.46039772e+00, 4.11977196e+00, 1.53172004e+00, ..., -4.01829195e+00, -5.74728251e+00, -6.46529245e+00], [ 1.12867937e+01, 1.02155457e+01, 2.97364187e+00, ..., -1.01521385e+00, -2.95599151e+00, -4.72741795e+00], [ 1.31823225e+01, 1.24066772e+01, 5.44100285e+00, ..., 1.41504860e+00, 2.43568093e-01, -5.75073242e-01]]], dtype=float32) - v10(time, latitude, longitude)float320.3738 0.3756 ... 6.424 6.851
- units :
- m s**-1
- long_name :
- 10 metre V wind component
- grid_mapping :
- spatial_ref
array([[[ 3.7381503e-01, 3.7555534e-01, -1.6925783e-01, ..., -1.8437622e+00, -1.7156283e+00, -1.9251496e+00], [ 4.9843019e-01, 1.1461111e+00, 1.7515169e+00, ..., -1.2906283e+00, -1.6832994e+00, -1.5866562e+00], [ 5.6524730e-01, 5.8929378e-01, 7.5175065e-01, ..., -1.6578684e+00, -1.3560483e+00, -1.0321252e+00], ..., [ 6.6913939e+00, 5.5748576e-01, -6.6010916e-01, ..., 5.0304127e-01, 4.2423272e-01, 5.9385407e-01], [ 1.2044012e+01, 7.2225394e+00, 1.4492015e+00, ..., -1.1303488e-01, -2.5305861e-01, 1.8633349e-01], [ 1.4704592e+01, 1.0969058e+01, 3.3972492e+00, ..., 3.1319699e-01, 5.4790783e-01, 8.8453370e-01]], [[-3.7132224e-01, 6.9467150e-02, -4.3517953e-01, ..., -1.3945125e+00, -1.6581604e+00, -2.0481381e+00], [-3.3837915e-03, 6.6759419e-01, 1.6247807e+00, ..., -8.1806934e-01, -1.7675323e+00, -1.8841064e+00], [ 3.5020041e-01, 4.4895250e-01, 4.9886209e-01, ..., -1.7658552e+00, -2.0453439e+00, -2.1035864e+00], ... [-1.1375973e+00, 1.9579132e+00, 3.2778935e+00, ..., 3.7684269e+00, 3.7522435e+00, 3.1403971e+00], [ 7.7935398e-01, 2.1489263e+00, 2.3962505e+00, ..., 4.9311194e+00, 4.9166641e+00, 3.9313035e+00], [ 7.0100272e-01, 7.9186636e-01, 1.3841628e+00, ..., 4.7708988e+00, 5.4848375e+00, 4.4799395e+00]], [[-1.6257937e+00, -1.0430371e+00, -1.3971294e+00, ..., -1.1713741e+00, -1.0460476e+00, -6.5932721e-02], [-2.0432987e+00, -2.2540393e+00, -1.8611012e+00, ..., -1.2257425e+00, -5.6015033e-01, 5.2353102e-01], [-1.8034179e+00, -1.7937002e+00, -1.9581130e+00, ..., 1.7408791e-01, -7.7320278e-01, 5.2182889e-01], ..., [-7.0531863e-01, 1.4572551e+00, 2.1130149e+00, ..., 1.7233801e+00, 2.5456240e+00, 2.5947967e+00], [-5.7494915e-01, 6.2185115e-01, 1.7732136e+00, ..., 3.6583946e+00, 4.4154592e+00, 3.9234531e+00], [ 2.5103346e-03, 9.0596354e-01, 1.9601358e+00, ..., 4.5072384e+00, 6.4238725e+00, 6.8513870e+00]]], dtype=float32) - t2m(time, latitude, longitude)float32250.3 247.3 245.7 ... 265.9 265.7
- units :
- K
- long_name :
- 2 metre temperature
- grid_mapping :
- spatial_ref
array([[[250.29878, 247.34512, 245.74808, ..., 255.33658, 255.34026, 254.5476 ], [250.59224, 250.27695, 250.83232, ..., 255.94756, 256.17297, 255.86897], [255.19157, 254.43388, 252.95776, ..., 257.25726, 256.99573, 256.32135], ..., [278.3604 , 275.42752, 270.0606 , ..., 259.2702 , 256.42145, 254.724 ], [279.0726 , 278.4916 , 273.94037, ..., 260.87332, 259.09747, 253.80832], [279.64343, 279.29034, 276.95276, ..., 260.3777 , 257.0191 , 252.89676]], [[250.05354, 246.48132, 245.06247, ..., 251.11365, 252.24307, 252.75317], [251.27962, 249.45334, 250.59573, ..., 253.08841, 255.02054, 255.28635], [255.49321, 254.50656, 253.08932, ..., 253.3483 , 255.37845, 255.56372], ... [276.26358, 274.8868 , 271.36194, ..., 255.0623 , 253.07034, 249.71895], [276.98065, 276.9404 , 274.0353 , ..., 256.7037 , 254.4274 , 252.34091], [276.98413, 276.99136, 274.98798, ..., 259.05792, 258.24603, 256.02103]], [[246.30359, 245.42183, 244.48111, ..., 235.47917, 236.58936, 239.87788], [247.22519, 245.61963, 244.3962 , ..., 239.30095, 240.22183, 241.20906], [251.92741, 251.51888, 250.67805, ..., 241.66922, 239.95415, 239.2386 ], ..., [276.66605, 274.85428, 270.7216 , ..., 259.3572 , 257.7795 , 256.1791 ], [277.21194, 277.1507 , 273.53278, ..., 262.5909 , 261.76468, 260.36346], [277.40485, 276.91916, 274.93594, ..., 266.56366, 265.92407, 265.6501 ]]], dtype=float32)
- Conventions :
- CF-1.6
- history :
- 2022-06-14 00:45:00 GMT by grib_to_netcdf-2.24.3: /opt/ecmwf/mars-client/bin/grib_to_netcdf -S param -o /cache/data3/adaptor.mars.internal-1655167264.1047153-28011-19-b4a2bb83-8868-486b-bf8e-d7bf035eb998.nc /cache/tmp/b4a2bb83-8868-486b-bf8e-d7bf035eb998-adaptor.mars.internal-1655166317.8944476-28011-26-tmp.grib
If you want to use a function other than mean for a certain dimension, you can pass this using the coord_func option:
ds2 = eco.coarsen_dataset(ds, {'time': 5, 'latitude': 4, 'longitude': 4}, coord_func={"time": "min"})
ds2
<xarray.Dataset>
Dimensions: (time: 1756, latitude: 10, longitude: 20)
Coordinates:
* longitude (longitude) float32 -129.6 -128.6 -127.6 ... -111.6 -110.6
* latitude (latitude) float32 59.62 58.62 57.62 ... 52.62 51.62 50.62
* time (time) datetime64[ns] 2008-01-01 ... 2008-12-31T15:00:00
Data variables:
spatial_ref int64 0
u10 (time, latitude, longitude) float32 0.6489 -0.1787 ... -0.5751
v10 (time, latitude, longitude) float32 0.3738 0.3756 ... 6.851
t2m (time, latitude, longitude) float32 250.3 247.3 ... 265.9 265.7
Attributes:
Conventions: CF-1.6
history: 2022-06-14 00:45:00 GMT by grib_to_netcdf-2.24.3: /opt/ecmw...xarray.Dataset
- time: 1756
- latitude: 10
- longitude: 20
- longitude(longitude)float32-129.6 -128.6 ... -111.6 -110.6
- units :
- degrees_east
- long_name :
- longitude
- axis :
- X
- standard_name :
- longitude
array([-129.625, -128.625, -127.625, -126.625, -125.625, -124.625, -123.625, -122.625, -121.625, -120.625, -119.625, -118.625, -117.625, -116.625, -115.625, -114.625, -113.625, -112.625, -111.625, -110.625], dtype=float32) - latitude(latitude)float3259.62 58.62 57.62 ... 51.62 50.62
- units :
- degrees_north
- long_name :
- latitude
- axis :
- Y
- standard_name :
- latitude
array([59.625, 58.625, 57.625, 56.625, 55.625, 54.625, 53.625, 52.625, 51.625, 50.625], dtype=float32) - time(time)datetime64[ns]2008-01-01 ... 2008-12-31T15:00:00
- long_name :
- time
array(['2008-01-01T00:00:00.000000000', '2008-01-01T05:00:00.000000000', '2008-01-01T10:00:00.000000000', ..., '2008-12-31T05:00:00.000000000', '2008-12-31T10:00:00.000000000', '2008-12-31T15:00:00.000000000'], dtype='datetime64[ns]')
- spatial_ref()int640
- crs_wkt :
- GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AXIS["Latitude",NORTH],AXIS["Longitude",EAST],AUTHORITY["EPSG","4326"]]
- semi_major_axis :
- 6378137.0
- semi_minor_axis :
- 6356752.314245179
- inverse_flattening :
- 298.257223563
- reference_ellipsoid_name :
- WGS 84
- longitude_of_prime_meridian :
- 0.0
- prime_meridian_name :
- Greenwich
- geographic_crs_name :
- WGS 84
- grid_mapping_name :
- latitude_longitude
- spatial_ref :
- GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AXIS["Latitude",NORTH],AXIS["Longitude",EAST],AUTHORITY["EPSG","4326"]]
- GeoTransform :
- -130.125 0.25 0.0 60.125 0.0 -0.25
array(0)
- u10(time, latitude, longitude)float320.6489 -0.1787 ... 0.2436 -0.5751
- units :
- m s**-1
- long_name :
- 10 metre U wind component
- grid_mapping :
- spatial_ref
array([[[ 6.48887694e-01, -1.78701580e-01, -4.82258797e-01, ..., 2.27854133e+00, 2.09153128e+00, 2.22638464e+00], [-1.91622829e+00, -9.52254772e-01, -3.07062361e-02, ..., 1.68607485e+00, 2.08435035e+00, 2.41244936e+00], [-1.76774752e+00, -1.41157305e+00, -1.37446237e+00, ..., 2.41619492e+00, 9.01520133e-01, 1.46494043e+00], ..., [-1.15515575e+01, -4.85883617e+00, -1.92904663e+00, ..., 2.88646460e+00, 2.68539214e+00, 3.00677013e+00], [-1.29971867e+01, -1.12874746e+01, -4.67014647e+00, ..., 2.45909262e+00, 2.56494951e+00, 2.82858324e+00], [-1.28996449e+01, -1.19962788e+01, -7.42488623e+00, ..., 9.57547367e-01, 8.95359874e-01, 2.07084775e+00]], [[-8.47955607e-03, -2.43353099e-01, -4.76820379e-01, ..., 2.37613487e+00, 2.37199092e+00, 2.56127834e+00], [-2.26121473e+00, -1.27657008e+00, -4.04614776e-01, ..., 2.01483345e+00, 2.44484305e+00, 2.56180096e+00], [-1.90976930e+00, -1.71320152e+00, -1.85114133e+00, ..., 1.76725328e+00, 1.11266112e+00, 1.51071298e+00], ... -4.60472345e+00, -5.06590843e+00, -4.30512428e+00], [ 1.48194304e+01, 1.40103731e+01, 5.15737009e+00, ..., -3.93968964e+00, -4.24294853e+00, -4.28356886e+00], [ 1.58358688e+01, 1.48018703e+01, 7.28444910e+00, ..., -2.03377104e+00, -2.84539294e+00, -3.29036212e+00]], [[-7.94033185e-02, 8.46335441e-02, 3.89730409e-02, ..., -3.88734996e-01, -8.59054565e-01, -1.74035621e+00], [-1.68745267e+00, -1.38475430e+00, -2.04587072e-01, ..., -1.21633673e+00, -1.33772480e+00, -1.38872409e+00], [-2.00194031e-01, -6.43433392e-01, -9.42597568e-01, ..., -2.52818441e+00, -4.75824773e-01, -1.86316299e+00], ..., [ 9.46039772e+00, 4.11977196e+00, 1.53172004e+00, ..., -4.01829195e+00, -5.74728251e+00, -6.46529245e+00], [ 1.12867937e+01, 1.02155457e+01, 2.97364187e+00, ..., -1.01521385e+00, -2.95599151e+00, -4.72741795e+00], [ 1.31823225e+01, 1.24066772e+01, 5.44100285e+00, ..., 1.41504860e+00, 2.43568093e-01, -5.75073242e-01]]], dtype=float32) - v10(time, latitude, longitude)float320.3738 0.3756 ... 6.424 6.851
- units :
- m s**-1
- long_name :
- 10 metre V wind component
- grid_mapping :
- spatial_ref
array([[[ 3.7381503e-01, 3.7555534e-01, -1.6925783e-01, ..., -1.8437622e+00, -1.7156283e+00, -1.9251496e+00], [ 4.9843019e-01, 1.1461111e+00, 1.7515169e+00, ..., -1.2906283e+00, -1.6832994e+00, -1.5866562e+00], [ 5.6524730e-01, 5.8929378e-01, 7.5175065e-01, ..., -1.6578684e+00, -1.3560483e+00, -1.0321252e+00], ..., [ 6.6913939e+00, 5.5748576e-01, -6.6010916e-01, ..., 5.0304127e-01, 4.2423272e-01, 5.9385407e-01], [ 1.2044012e+01, 7.2225394e+00, 1.4492015e+00, ..., -1.1303488e-01, -2.5305861e-01, 1.8633349e-01], [ 1.4704592e+01, 1.0969058e+01, 3.3972492e+00, ..., 3.1319699e-01, 5.4790783e-01, 8.8453370e-01]], [[-3.7132224e-01, 6.9467150e-02, -4.3517953e-01, ..., -1.3945125e+00, -1.6581604e+00, -2.0481381e+00], [-3.3837915e-03, 6.6759419e-01, 1.6247807e+00, ..., -8.1806934e-01, -1.7675323e+00, -1.8841064e+00], [ 3.5020041e-01, 4.4895250e-01, 4.9886209e-01, ..., -1.7658552e+00, -2.0453439e+00, -2.1035864e+00], ... [-1.1375973e+00, 1.9579132e+00, 3.2778935e+00, ..., 3.7684269e+00, 3.7522435e+00, 3.1403971e+00], [ 7.7935398e-01, 2.1489263e+00, 2.3962505e+00, ..., 4.9311194e+00, 4.9166641e+00, 3.9313035e+00], [ 7.0100272e-01, 7.9186636e-01, 1.3841628e+00, ..., 4.7708988e+00, 5.4848375e+00, 4.4799395e+00]], [[-1.6257937e+00, -1.0430371e+00, -1.3971294e+00, ..., -1.1713741e+00, -1.0460476e+00, -6.5932721e-02], [-2.0432987e+00, -2.2540393e+00, -1.8611012e+00, ..., -1.2257425e+00, -5.6015033e-01, 5.2353102e-01], [-1.8034179e+00, -1.7937002e+00, -1.9581130e+00, ..., 1.7408791e-01, -7.7320278e-01, 5.2182889e-01], ..., [-7.0531863e-01, 1.4572551e+00, 2.1130149e+00, ..., 1.7233801e+00, 2.5456240e+00, 2.5947967e+00], [-5.7494915e-01, 6.2185115e-01, 1.7732136e+00, ..., 3.6583946e+00, 4.4154592e+00, 3.9234531e+00], [ 2.5103346e-03, 9.0596354e-01, 1.9601358e+00, ..., 4.5072384e+00, 6.4238725e+00, 6.8513870e+00]]], dtype=float32) - t2m(time, latitude, longitude)float32250.3 247.3 245.7 ... 265.9 265.7
- units :
- K
- long_name :
- 2 metre temperature
- grid_mapping :
- spatial_ref
array([[[250.29878, 247.34512, 245.74808, ..., 255.33658, 255.34026, 254.5476 ], [250.59224, 250.27695, 250.83232, ..., 255.94756, 256.17297, 255.86897], [255.19157, 254.43388, 252.95776, ..., 257.25726, 256.99573, 256.32135], ..., [278.3604 , 275.42752, 270.0606 , ..., 259.2702 , 256.42145, 254.724 ], [279.0726 , 278.4916 , 273.94037, ..., 260.87332, 259.09747, 253.80832], [279.64343, 279.29034, 276.95276, ..., 260.3777 , 257.0191 , 252.89676]], [[250.05354, 246.48132, 245.06247, ..., 251.11365, 252.24307, 252.75317], [251.27962, 249.45334, 250.59573, ..., 253.08841, 255.02054, 255.28635], [255.49321, 254.50656, 253.08932, ..., 253.3483 , 255.37845, 255.56372], ... [276.26358, 274.8868 , 271.36194, ..., 255.0623 , 253.07034, 249.71895], [276.98065, 276.9404 , 274.0353 , ..., 256.7037 , 254.4274 , 252.34091], [276.98413, 276.99136, 274.98798, ..., 259.05792, 258.24603, 256.02103]], [[246.30359, 245.42183, 244.48111, ..., 235.47917, 236.58936, 239.87788], [247.22519, 245.61963, 244.3962 , ..., 239.30095, 240.22183, 241.20906], [251.92741, 251.51888, 250.67805, ..., 241.66922, 239.95415, 239.2386 ], ..., [276.66605, 274.85428, 270.7216 , ..., 259.3572 , 257.7795 , 256.1791 ], [277.21194, 277.1507 , 273.53278, ..., 262.5909 , 261.76468, 260.36346], [277.40485, 276.91916, 274.93594, ..., 266.56366, 265.92407, 265.6501 ]]], dtype=float32)
- Conventions :
- CF-1.6
- history :
- 2022-06-14 00:45:00 GMT by grib_to_netcdf-2.24.3: /opt/ecmwf/mars-client/bin/grib_to_netcdf -S param -o /cache/data3/adaptor.mars.internal-1655167264.1047153-28011-19-b4a2bb83-8868-486b-bf8e-d7bf035eb998.nc /cache/tmp/b4a2bb83-8868-486b-bf8e-d7bf035eb998-adaptor.mars.internal-1655166317.8944476-28011-26-tmp.grib
Save the dataset#
The new dataset will be saved to a netcdf file if the outfile argument is provided.
outfile = "../../output/coarse_output.nc"
eco.coarsen_dataset(ds,
{'time': 5, 'latitude': 4, 'longitude': 4},
outfile=outfile)
<xarray.Dataset>
Dimensions: (time: 1756, latitude: 10, longitude: 20)
Coordinates:
* longitude (longitude) float32 -129.6 -128.6 -127.6 ... -111.6 -110.6
* latitude (latitude) float32 59.62 58.62 57.62 ... 52.62 51.62 50.62
* time (time) datetime64[ns] 2008-01-01T02:00:00 ... 2008-12-31T17:...
Data variables:
spatial_ref int64 0
u10 (time, latitude, longitude) float32 0.6489 -0.1787 ... -0.5751
v10 (time, latitude, longitude) float32 0.3738 0.3756 ... 6.851
t2m (time, latitude, longitude) float32 250.3 247.3 ... 265.9 265.7
Attributes:
Conventions: CF-1.6
history: 2022-06-14 00:45:00 GMT by grib_to_netcdf-2.24.3: /opt/ecmw...xarray.Dataset
- time: 1756
- latitude: 10
- longitude: 20
- longitude(longitude)float32-129.6 -128.6 ... -111.6 -110.6
- units :
- degrees_east
- long_name :
- longitude
- axis :
- X
- standard_name :
- longitude
array([-129.625, -128.625, -127.625, -126.625, -125.625, -124.625, -123.625, -122.625, -121.625, -120.625, -119.625, -118.625, -117.625, -116.625, -115.625, -114.625, -113.625, -112.625, -111.625, -110.625], dtype=float32) - latitude(latitude)float3259.62 58.62 57.62 ... 51.62 50.62
- units :
- degrees_north
- long_name :
- latitude
- axis :
- Y
- standard_name :
- latitude
array([59.625, 58.625, 57.625, 56.625, 55.625, 54.625, 53.625, 52.625, 51.625, 50.625], dtype=float32) - time(time)datetime64[ns]2008-01-01T02:00:00 ... 2008-12-...
- long_name :
- time
array(['2008-01-01T02:00:00.000000000', '2008-01-01T07:00:00.000000000', '2008-01-01T12:00:00.000000000', ..., '2008-12-31T07:00:00.000000000', '2008-12-31T12:00:00.000000000', '2008-12-31T17:00:00.000000000'], dtype='datetime64[ns]')
- spatial_ref()int640
- crs_wkt :
- GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AXIS["Latitude",NORTH],AXIS["Longitude",EAST],AUTHORITY["EPSG","4326"]]
- semi_major_axis :
- 6378137.0
- semi_minor_axis :
- 6356752.314245179
- inverse_flattening :
- 298.257223563
- reference_ellipsoid_name :
- WGS 84
- longitude_of_prime_meridian :
- 0.0
- prime_meridian_name :
- Greenwich
- geographic_crs_name :
- WGS 84
- grid_mapping_name :
- latitude_longitude
- spatial_ref :
- GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AXIS["Latitude",NORTH],AXIS["Longitude",EAST],AUTHORITY["EPSG","4326"]]
- GeoTransform :
- -130.125 0.25 0.0 60.125 0.0 -0.25
array(0)
- u10(time, latitude, longitude)float320.6489 -0.1787 ... 0.2436 -0.5751
- units :
- m s**-1
- long_name :
- 10 metre U wind component
- grid_mapping :
- spatial_ref
array([[[ 6.48887694e-01, -1.78701580e-01, -4.82258797e-01, ..., 2.27854133e+00, 2.09153128e+00, 2.22638464e+00], [-1.91622829e+00, -9.52254772e-01, -3.07062361e-02, ..., 1.68607485e+00, 2.08435035e+00, 2.41244936e+00], [-1.76774752e+00, -1.41157305e+00, -1.37446237e+00, ..., 2.41619492e+00, 9.01520133e-01, 1.46494043e+00], ..., [-1.15515575e+01, -4.85883617e+00, -1.92904663e+00, ..., 2.88646460e+00, 2.68539214e+00, 3.00677013e+00], [-1.29971867e+01, -1.12874746e+01, -4.67014647e+00, ..., 2.45909262e+00, 2.56494951e+00, 2.82858324e+00], [-1.28996449e+01, -1.19962788e+01, -7.42488623e+00, ..., 9.57547367e-01, 8.95359874e-01, 2.07084775e+00]], [[-8.47955607e-03, -2.43353099e-01, -4.76820379e-01, ..., 2.37613487e+00, 2.37199092e+00, 2.56127834e+00], [-2.26121473e+00, -1.27657008e+00, -4.04614776e-01, ..., 2.01483345e+00, 2.44484305e+00, 2.56180096e+00], [-1.90976930e+00, -1.71320152e+00, -1.85114133e+00, ..., 1.76725328e+00, 1.11266112e+00, 1.51071298e+00], ... -4.60472345e+00, -5.06590843e+00, -4.30512428e+00], [ 1.48194304e+01, 1.40103731e+01, 5.15737009e+00, ..., -3.93968964e+00, -4.24294853e+00, -4.28356886e+00], [ 1.58358688e+01, 1.48018703e+01, 7.28444910e+00, ..., -2.03377104e+00, -2.84539294e+00, -3.29036212e+00]], [[-7.94033185e-02, 8.46335441e-02, 3.89730409e-02, ..., -3.88734996e-01, -8.59054565e-01, -1.74035621e+00], [-1.68745267e+00, -1.38475430e+00, -2.04587072e-01, ..., -1.21633673e+00, -1.33772480e+00, -1.38872409e+00], [-2.00194031e-01, -6.43433392e-01, -9.42597568e-01, ..., -2.52818441e+00, -4.75824773e-01, -1.86316299e+00], ..., [ 9.46039772e+00, 4.11977196e+00, 1.53172004e+00, ..., -4.01829195e+00, -5.74728251e+00, -6.46529245e+00], [ 1.12867937e+01, 1.02155457e+01, 2.97364187e+00, ..., -1.01521385e+00, -2.95599151e+00, -4.72741795e+00], [ 1.31823225e+01, 1.24066772e+01, 5.44100285e+00, ..., 1.41504860e+00, 2.43568093e-01, -5.75073242e-01]]], dtype=float32) - v10(time, latitude, longitude)float320.3738 0.3756 ... 6.424 6.851
- units :
- m s**-1
- long_name :
- 10 metre V wind component
- grid_mapping :
- spatial_ref
array([[[ 3.7381503e-01, 3.7555534e-01, -1.6925783e-01, ..., -1.8437622e+00, -1.7156283e+00, -1.9251496e+00], [ 4.9843019e-01, 1.1461111e+00, 1.7515169e+00, ..., -1.2906283e+00, -1.6832994e+00, -1.5866562e+00], [ 5.6524730e-01, 5.8929378e-01, 7.5175065e-01, ..., -1.6578684e+00, -1.3560483e+00, -1.0321252e+00], ..., [ 6.6913939e+00, 5.5748576e-01, -6.6010916e-01, ..., 5.0304127e-01, 4.2423272e-01, 5.9385407e-01], [ 1.2044012e+01, 7.2225394e+00, 1.4492015e+00, ..., -1.1303488e-01, -2.5305861e-01, 1.8633349e-01], [ 1.4704592e+01, 1.0969058e+01, 3.3972492e+00, ..., 3.1319699e-01, 5.4790783e-01, 8.8453370e-01]], [[-3.7132224e-01, 6.9467150e-02, -4.3517953e-01, ..., -1.3945125e+00, -1.6581604e+00, -2.0481381e+00], [-3.3837915e-03, 6.6759419e-01, 1.6247807e+00, ..., -8.1806934e-01, -1.7675323e+00, -1.8841064e+00], [ 3.5020041e-01, 4.4895250e-01, 4.9886209e-01, ..., -1.7658552e+00, -2.0453439e+00, -2.1035864e+00], ... [-1.1375973e+00, 1.9579132e+00, 3.2778935e+00, ..., 3.7684269e+00, 3.7522435e+00, 3.1403971e+00], [ 7.7935398e-01, 2.1489263e+00, 2.3962505e+00, ..., 4.9311194e+00, 4.9166641e+00, 3.9313035e+00], [ 7.0100272e-01, 7.9186636e-01, 1.3841628e+00, ..., 4.7708988e+00, 5.4848375e+00, 4.4799395e+00]], [[-1.6257937e+00, -1.0430371e+00, -1.3971294e+00, ..., -1.1713741e+00, -1.0460476e+00, -6.5932721e-02], [-2.0432987e+00, -2.2540393e+00, -1.8611012e+00, ..., -1.2257425e+00, -5.6015033e-01, 5.2353102e-01], [-1.8034179e+00, -1.7937002e+00, -1.9581130e+00, ..., 1.7408791e-01, -7.7320278e-01, 5.2182889e-01], ..., [-7.0531863e-01, 1.4572551e+00, 2.1130149e+00, ..., 1.7233801e+00, 2.5456240e+00, 2.5947967e+00], [-5.7494915e-01, 6.2185115e-01, 1.7732136e+00, ..., 3.6583946e+00, 4.4154592e+00, 3.9234531e+00], [ 2.5103346e-03, 9.0596354e-01, 1.9601358e+00, ..., 4.5072384e+00, 6.4238725e+00, 6.8513870e+00]]], dtype=float32) - t2m(time, latitude, longitude)float32250.3 247.3 245.7 ... 265.9 265.7
- units :
- K
- long_name :
- 2 metre temperature
- grid_mapping :
- spatial_ref
array([[[250.29878, 247.34512, 245.74808, ..., 255.33658, 255.34026, 254.5476 ], [250.59224, 250.27695, 250.83232, ..., 255.94756, 256.17297, 255.86897], [255.19157, 254.43388, 252.95776, ..., 257.25726, 256.99573, 256.32135], ..., [278.3604 , 275.42752, 270.0606 , ..., 259.2702 , 256.42145, 254.724 ], [279.0726 , 278.4916 , 273.94037, ..., 260.87332, 259.09747, 253.80832], [279.64343, 279.29034, 276.95276, ..., 260.3777 , 257.0191 , 252.89676]], [[250.05354, 246.48132, 245.06247, ..., 251.11365, 252.24307, 252.75317], [251.27962, 249.45334, 250.59573, ..., 253.08841, 255.02054, 255.28635], [255.49321, 254.50656, 253.08932, ..., 253.3483 , 255.37845, 255.56372], ... [276.26358, 274.8868 , 271.36194, ..., 255.0623 , 253.07034, 249.71895], [276.98065, 276.9404 , 274.0353 , ..., 256.7037 , 254.4274 , 252.34091], [276.98413, 276.99136, 274.98798, ..., 259.05792, 258.24603, 256.02103]], [[246.30359, 245.42183, 244.48111, ..., 235.47917, 236.58936, 239.87788], [247.22519, 245.61963, 244.3962 , ..., 239.30095, 240.22183, 241.20906], [251.92741, 251.51888, 250.67805, ..., 241.66922, 239.95415, 239.2386 ], ..., [276.66605, 274.85428, 270.7216 , ..., 259.3572 , 257.7795 , 256.1791 ], [277.21194, 277.1507 , 273.53278, ..., 262.5909 , 261.76468, 260.36346], [277.40485, 276.91916, 274.93594, ..., 266.56366, 265.92407, 265.6501 ]]], dtype=float32)
- Conventions :
- CF-1.6
- history :
- 2022-06-14 00:45:00 GMT by grib_to_netcdf-2.24.3: /opt/ecmwf/mars-client/bin/grib_to_netcdf -S param -o /cache/data3/adaptor.mars.internal-1655167264.1047153-28011-19-b4a2bb83-8868-486b-bf8e-d7bf035eb998.nc /cache/tmp/b4a2bb83-8868-486b-bf8e-d7bf035eb998-adaptor.mars.internal-1655166317.8944476-28011-26-tmp.grib