#283 closed Support (fixed)
eccodes error when using ERA5 data as Flexpart's input
Reported by: | fcheng | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | FLEXPART 10 |
Component: | FP coding/compilation | Version: | FLEXPART 10.4 |
Keywords: | eccodes, gridcheck error, ERA5 | Cc: |
Description
Dear Flexpart community,
I have encountered an error message when using ERA5 data (downloaded by flex_extract v7.1.2) as the model input for Flexpart:
ECMWF metdata detected ECCODES ERROR : wrong size (244) for pv it contains 276 values ECCODES ERROR : gridcheck: Error Passed array is too small
It seems to point out the wrong size of the pv data (potential vorticity?).
But the FLEXPART model can run without bugs if I use ERA-interim data. So I guess the error may come from the ERA5 data.
Below is my CONTROL file to download the ERA5 data using flex_extract v7.1.2:
START_DATE 20080601 END_DATE 20080601 DTIME 1 TYPE AN AN AN AN AN AN AN AN TIME 00 03 06 09 12 15 18 21 STEP 00 00 00 00 00 00 00 00 ACCTYPE FC ACCTIME 06/18 ACCMAXSTEP 12 CLASS EA STREAM OPER DATASET ERA5 GRID 1 LEFT -179. LOWER -70. UPPER 70. RIGHT 180. LEVELIST 1/to/137 RESOL 159 ETA 1 CWC 1 RRINT 1 FORMAT GRIB2 PREFIX EAnew ECTRANS 0
Is there anything wrong with the CONTROL setting? Any helps/hints with this error message would be much appreciated. Thanks a lot!
Warm regards,
Fandy
Change History (10)
comment:1 Changed 4 years ago by fcheng
comment:2 follow-up: ↓ 10 Changed 4 years ago by fcheng
I think it is now solved. The error should be because I forgot to adjust the max dimensions of the mother domain in par_mod.f90.
Sorry for bothering you and thanks for your attention. Have a nice day.
comment:3 Changed 4 years ago by pesei
- Component changed from FP other to FP coding/compilation
- Milestone set to FLEXPART 10
- Priority changed from major to minor
- Type changed from Support to Enhancement
- Version changed from flex_extract_v7.1 to FLEXPART 10.4
Thank you for reporting the issue and the answer. I think we should keep the ticket open (as "enhancement"), as more informative error message would be good.
Did I understand correctly, the error message is generated by FLEXPART, not flex_extract?
(therefore I changed the "component")
comment:4 Changed 4 years ago by fcheng
Yes, it is generated by FLEXPART. Thank you!
comment:5 Changed 4 years ago by pesei
- Resolution set to fixed
- Status changed from new to closed
- Type changed from Enhancement to Support
comment:6 Changed 4 years ago by pesei
You could try also via the mailing list - maybe there are people who have experience with Flexpart on Mac. And I think there are also Mac users at NILU, although they might be too busy at the moment.
comment:7 Changed 3 years ago by omid.nabavy
Hi, I got the same error here. Although I have set the level list between 1/to/137 for ERA5 data, FLEX_extract still gives this error.
...... ... 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
Thanks for your help.
Omid.
comment:8 Changed 3 years ago by pesei
Hello Omid, your problem seems to be a different one, as you get this error fromflex_ectract and not FLEXPART.
Please open a new ticket wit flex_extract as VERSION.
Also please use the code environment for all code or i/o quotations. Thank you.
comment:9 Changed 3 years ago by omid.nabavy
Thanks for your comment. I created a new ticket.
Best.
comment:10 in reply to: ↑ 2 Changed 13 months ago by xu_ru
Replying to fcheng:
I think it is now solved. The error should be because I forgot to adjust the max dimensions of the mother domain in par_mod.f90.
Sorry for bothering you and thanks for your attention. Have a nice day.
hi cheng,
i am wonder how the parameters setting in par_mod.f90 for ERA5, i also encountered this issue,
my res is 0.5deg.
Best
And the version of the FLEXPART model is v10.4. Thank you for your kind attention.