Issues with running flex_extract

Hello,

I am having trouble getting flex_extract to run properly. In following the online guide, I have successfully been able to install flex_extract to my local computer. However, I have been having trouble executing the command run_local.sh

Here is some information:

-The control file I am testing is CONTROL_EA5

-The script run_local.sh has been modified to the following:

QUEUE=''
START_DATE=None
END_DATE=None
DATE_CHUNK=None
JOB_CHUNK=None
BASETIME=None
STEP=None
LEVELIST=None
AREA=None
INPUTDIR='./Workspace/EA5'
OUTPUTDIR=None
PP_ID=None
JOB_TEMPLATE=''
CONTROLFILE='CONTROL_EA5'
DEBUG=0
REQUEST=0
PUBLIC=1

After typing $ ./run_local.sh, I get the following:

Retrieving ECMWF data!
start date 20180809
end date 20180809
Using ECMWF WebAPI: False
Using CDS API: False
... removing old files in /usr/local/src/flex_extract/Run/./Workspace/EA5
... retrieve 20180808/to/20180810 in dir /usr/local/src/flex_extract/Run/./Workspace/EA5
marsclass: EA
dataset: None
type: FC
levtype: SFC
levelist: 1
repres:
date: 20180808/to/20180810
resol: 799
stream: OPER
area: 74.0/-24.0/9.875/60.375
time: 06/18
step: 1/to/12/by/1
expver: 1
number: OFF
accuracy: 24
grid: 0.28125/0.28125
gaussian:
target: /usr/local/src/flex_extract/Run/./Workspace/EA5/FCOG_acc_SL.20180808.3308.3309.grb
param: 142.128/143.128/146.128/180.128/181.128/176.128
target: /usr/local/src/flex_extract/Run/./Workspace/EA5/FCOG_acc_SL.20180808.3308.3309.grb
/usr/lib/python3.10/subprocess.py:955: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
  self.stdin = io.open(p2cwrite, 'wb', bufsize)
/usr/lib/python3.10/subprocess.py:961: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
  self.stdout = io.open(c2pread, 'rb', bufsize)
/usr/lib/python3.10/subprocess.py:966: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
  self.stderr = io.open(errread, 'rb', bufsize)
MARS request failed

  File "/usr/local/src/flex_extract/Run/../Source/Python/submit.py", line 268, in <module>
    main()

  File "/usr/local/src/flex_extract/Run/../Source/Python/submit.py", line 107, in main
    get_mars_data(c)

  File "/usr/local/src/flex_extract/Source/Python/Mods/get_mars_data.py", line 158, in get_mars_data
    do_retrievement(c, server, start, end, datechunk, fluxes=True)

  File "/usr/local/src/flex_extract/Source/Python/Mods/get_mars_data.py", line 386, in do_retrievement
    my_error('MARS request failed')

  File "/usr/local/src/flex_extract/Source/Python/Mods/tools.py", line 335, in my_error
    trace = '\n'.join(traceback.format_stack())

I have been struggling to pinpoint what the exact problem is. If you have any thoughts or suggestions, I would greatly appreciate them.

Thank you very much,

Kevin Bloxam (He/Him) Postdoctoral Fellow Department of Physics | Faculty of Arts and Science | University of Toronto kevin.bloxam@utoronto.ca

Edited Jan 29, 2025 by Michael Blaschek
Assignee Loading
Time tracking Loading