Welcome, Guest
Username: Password: Remember me

TOPIC: convertECMWF.py Error

convertECMWF.py Error 5 years 4 months ago #34013

  • buckle
  • buckle's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 60
  • Thank you received: 4
Dear all,
I get the following error while downloading using convertECMWF.py. (v8p0r2)

File Attachment:

File Name: convertECMWF_Error.txt
File Size: 4 KB


Netcdf file is downloading but slf is not generated.

Even with the example command, the same error pops up.

I feel there is a confusion between lat and long

convertECMWF.py --from 2019-03-01 --stop 2019-04-30 --bl 0,74 --tr 24,100 ecmwfbob.slf

bl is 0S 74W and tr is 24N 100E

Awaiting your help.

Thank you,

With regards

Buckle S
The administrator has disabled public write access.

convertECMWF.py Error 5 years 4 months ago #34021

  • Leballeur
  • Leballeur's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 434
  • Thank you received: 163
Hi,

Yes, I think you are right.
Try to reverse the coordinates on line 475 of convertECMWF.py:
y1,x1,y2,x2 = self.request['area'].split('/')
instead of
x1,y1,x2,y2 = self.request['area'].split('/')

I hope it helps

Regards,
Laurent
The administrator has disabled public write access.
The following user(s) said Thank You: buckle

convertECMWF.py Error 5 years 4 months ago #34022

  • buckle
  • buckle's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 60
  • Thank you received: 4
Dear Laurent,

Thank you for your help

Your suggestion worked.

Thank you again,

With regards

Buckle S
The administrator has disabled public write access.
Moderators: pham

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.