Hello,


I have been repeatedly getting an error when downloading the data. The request is successful, and in the middle of the download an error similar to this appears: "HTTPError: 416 Client Error: Requested Range Not Satisfiable for url: http://136.156.132.110/cache-compute-0001/cache/data7/adaptor.mars.internal-1578930954.068029-12105-28-686d9135-986f-4d35-987a-94a5561886c3.nc". I have attached a screenshot as an example. It seems like the download times out, but I don't know why. This happens very often. Does anyone have experience with this and know how to fix this?


Thanks,

Kai-Wei




2 Comments

  1. Hi,

    could you please tell me how many years and months you request?

    Thanks

    Michela

    1. Hello,


      Please see below for one of the codes I used. However, the error isn't limited to this script (I encounter it from time to time, even when downloading smaller files with size ~100mb).


      import cdsapi

      c = cdsapi.Client()

      c.retrieve(
      'reanalysis-era5-pressure-levels',
      {
      'product_type': 'reanalysis',
      'format': 'netcdf',
      'grid':'0.75/0.75',
      'variable': [
      'divergence', 'geopotential', 'ozone_mass_mixing_ratio',
      'potential_vorticity', 'relative_humidity', 'specific_humidity',
      'temperature', 'u_component_of_wind', 'v_component_of_wind',
      'vertical_velocity', 'vorticity',
      ],
      'pressure_level': [
      '1', '2', '3',
      '5', '7', '10',
      '20', '30', '50',
      '70', '100', '125',
      '150', '175', '200',
      '225', '250', '300',
      '350', '400', '450',
      '500', '550', '600',
      '650', '700', '750',
      '775', '800', '825',
      '850', '875', '900',
      '925', '950', '975',
      '1000',
      ],
      'year': '2017',
      'month': '01',
      'day': '01',
      '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',
      ],
      },
      'download.nc')