Opened 5 years ago
Last modified 5 years ago
#224 closed Defect
on ecgate, ECCODES ERRORS : Maximum value out of range: inf — at Initial Version
Reported by: | bsteil | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | flex_extract | Version: | flex_extract_v7.0.4 |
Keywords: | Cc: |
Description
Dear Flex_EXTRACT developers or users,
I'm trying to extract fields at ECMWF on ecgate.
flex_extract_v7.0.4 or flex_extract_v7.0.3 always produce the same error:
ECCODES ERROR : Maximum value out of range: inf.
This happens, when submit.py executes prepareFLEXPART.py. The downloading of the data
from MARS archive works without problems.
The error Maximum value out of range: inf also occurs, if I use the module grip_api instead of eccodes. What I'm doing wrong?
My installation process :
I have installed flex_extract_v7.0.4 directly on ecgate and I directly execute it there.
The gfortran I'm using is: /usr/local/apps/gcc/6.3.0/bin/gfortran
I have loaded the required modules in this order:
python 2.7.12-01 , jasper 1.900.1 , eccodes 2.9.2 , fftw 3.3.4 , emos 458
I have compiled the code in the subdirectory python with:
./install.py --target=local --makefile=Makefile.gfortran
Compilation is successful, no problems, no warnings here.
After inserting DAY1 20180711 and DAY2 20180711 in CONTROL.temp,
I run the model on ecgate with following command:
./submit.py --controlfile CONTROL.temp --inputdir /scratch/ms/datex/dw0/FLEXPART/INPUT --outputdir / scratch/ms/datex/dw0/FLEXPART/OUTPUT
After the successful download of the data from MARS-archive and the creation of a lot of
flux and fort files the process crashes with the following error message:
ECCODES ERROR : Maximum value out of range: inf
ECCODES ERROR : unable to compute packing parameters
ECCODES ERROR : unable to set double array codedValues (Encoding invalid)
ECCODES ERROR : set: values Encoding invalid
Traceback (most recent call last):
File "./submit.py", line 115, in <module>
main()
File "./submit.py", line 59, in main
prepareFLEXPART(args,c)
File "/home/ms/datex/dw0/FLEXPART/flex_extract_v7.0.4/flex_extract/python/prepareFLEXPART.py", line 96, in prepareFLEXPART flexpart.create(inputfiles, c) # produce FLEXPART-ready GRIB files
File "/home/ms/datex/dw0/FLEXPART/flex_extract_v7.0.4/flex_extract/python/FlexpartTools.py", line 1468, in create
p=subprocess.check_call([os.path.expandvars(os.path.expanduser(c.exedir))+'/CONVERT2'],shell=True)
File "/usr/local/apps/python/2.7.12-01/lib/python2.7/subprocess.py", line 541, in check_call
raise CalledProcessError?(retcode, cmd)
subprocess.CalledProcessError?: Command 'home/ms/datex/dw0/FLEXPART/flex_extract_v7.0.4/flex_extract/python/../src//CONVERT2?' returned non-zero exit status 242
The same happens using flex_extract_v7.0.3. I have also tested other control files. Always
the same error.
Thank you very much,
with kind regards,
Benedikt Steil