Opened 3 months ago

Last modified 2 weeks ago

#300 accepted Defect

ECCODES ERROR : get: pv Passed array is too small

Reported by: omid.nabavy Owned by: anphi
Priority: major Milestone:
Component: flex_extract Version: flex_extract_v7.1
Keywords: Cc:

Description (last modified by pesei)

Dear all,
Although this is a known error for cases where a wrong maximum layer is used for input data (cf #283), I received it after making sure this parameter was set correctly for ERA5 data (137). According to the installation test in the user guide, we have successfully installed FLEX_EXTRACT.

......
... disaggregation of precipitation with new method.
... write disaggregated precipitation to files.
... index will be done
Inputfile: /nvme/h/onabavi/data_p002/era5/ANOG__SL.20160701.65354.65355.grb 
Inputfile: /nvme/h/onabavi/data_p002/era5/ANOG__ML.20160701.65354.65355.grb 
Inputfile: /nvme/h/onabavi/data_p002/era5/ANSH__SL.20160701.65354.65355.grb 
... index done
current product:  ('20160701', '0', '0')
ECCODES ERROR   :   wrong size (0) for pv it contains 276 values 
ECCODES ERROR   :  get: pv Passed array is too small
... ERROR CODE: 250
... ERROR MESSAGE:

run_local.sh

QUEUE=
START_DATE='20160701'
END_DATE='20160702'
DATE_CHUNK=None
JOB_CHUNK=3
BASETIME=None
STEP=None
LEVELIST=None
AREA=None
INPUTDIR='/nvme/h/onabavi/data_p002/era5'
OUTPUTDIR='/nvme/h/onabavi/data_p002/era5'
PP_ID=None
JOB_TEMPLATE=
CONTROLFILE='/onyx/amd/h/onabavi/flex_extract/Run/Control/CONTROL_EA5'
DEBUG=0
REQUEST=0
PUBLIC=0

CONTROL_EA5

START_DATE 20190901
END_DATE 20190903
DTIME 1
TYPE AN AN AN AN AN AN AN AN AN AN AN AN AN AN AN AN AN AN AN AN AN AN AN AN
TIME 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23
STEP 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ACCTYPE FC
ACCTIME 06/18
ACCMAXSTEP 12
CLASS EA
STREAM OPER
GRID 0.28125
LEFT 43.
LOWER 10.
UPPER 38.
RIGHT 63.
LEVELIST 1/to/137
RESOL 799
ETA 1
FORMAT GRIB2
PREFIX EA
CWC 1
RRINT 1
ECTRANS 1

Any help is highly appreciated,
Omid.

Change History (5)

comment:1 Changed 3 months ago by pesei

  • Description modified (diff)
  • Owner set to anphi
  • Status changed from new to assigned

comment:2 Changed 3 months ago by omid.nabavy

Update: The above error was resolved when we removed the spatial subset from the control file (data are downloaded for the globe).

QUEUE=''
START_DATE=20190113
END_DATE=20190117
DATE_CHUNK=None
JOB_CHUNK=None
BASETIME=None
STEP=None
LEVELIST=None
AREA=None
INPUTDIR='/nvme/h/onabavi/data_p002/era5'
OUTPUTDIR='/nvme/h/onabavi/data_p002/era5'
PP_ID=None
JOB_TEMPLATE=''
CONTROLFILE='flex_extract/Run/Control/CONTROL_EA5.global'
DEBUG=0
REQUEST=0
PUBLIC=1

But after using the generated data, a new error ( *ERROR: input file needs to contain GRiB1 formattedmessages) occurred. This error has been reported before (#62, #250,#297), but the suggested solutions (such as data retrieval in Grib 1) have not worked for my case.

comment:3 Changed 2 weeks ago by anphi

  • Status changed from assigned to accepted

comment:4 Changed 2 weeks ago by anphi

Hi Omid,

this could be a bug in flex_extract v7.1 and might have been resolved in 7.1.2.

Can you try with version 7.1.2?

Best,
Anne

comment:5 Changed 2 weeks ago by pesei

  • Summary changed from FLEX_EXTRACT fails: ECCODES ERROR : get: pv Passed array is too small to ECCODES ERROR : get: pv Passed array is too small
Note: See TracTickets for help on using tickets.
hosted by ZAMG