Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

I want to extract data for an hour,But I don't know which function to use

'time': [
'00:00', '01:00', '02:00',
'03:00', '04:00', '05:00',
'06:00', '07:00', '08:00',
'09:00', '10:00', '11:00',
'12:00', '13:00', '14:00',
'15:00', '16:00', '17:00',
'18:00', '19:00', '20:00',
'21:00', '22:00', '23:00',
],

Image RemovedI tried to convert the Surface solar radiation downwards in era5 land and era5 single level datasets into the units needed by crop models,but the result of my calculation is obviously wrong

srad = ct.cube.resample(srad, freq='day', dim='time',how='mean', closed='right')

srad_daily = srad/86400  or srad_daily = srad/3600