Welcome, Guest
Username: Password: Remember me

TOPIC: ConvertECMWF.py

ConvertECMWF.py 6 years 3 months ago #31225

Hi
i have generated the Time and spatial varying wind file .slf format using convertECWEF.py script upto equator.i have modified in area in .py script also, But if go beyond the equator, i am getting wrong file ( what i mention in --bl 10,-37 and --tr 109,30 , I am not getting the mentioned location ).Can anyone help me to fix the problem?
Thanks in advance
The administrator has disabled public write access.

ConvertECMWF.py 6 years 3 months ago #31230

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

I think you reversed the coordinates in the command. The syntax is as follow: --bl y_min,x_min --tr y_max,x_max.
So, your -37 value means that you're 37° westward of Greenwich, and your 109 values is not correct (90°N is the maximum acceptable value, reaching the north pole).

I hope it helps!

Regards,
Laurent
The administrator has disabled public write access.

ConvertECMWF.py 6 years 3 months ago #31236

HI
i have given the coordinate in command --bl x_min, Y_min (0,75) --tr x_max y_max up (27,95) to the equator from north side it's working, if I go beyond that ( suppose --bl -3,75 --tr 27,95), some error is appearing
Error_ECMWEF.jpg
The administrator has disabled public write access.

ConvertECMWF.py 6 years 3 months ago #31237

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

Once again, you must provide the latitude first as follow: --bl y_min,x_min --tr y_max,x_max

For the error you mention, try the following command line:
--from='2011-02-15' --stop='2011-03-15' --bl='-3,75' --tr='27,95'

Regards,
Laurent
The administrator has disabled public write access.

ConvertECMWF.py 6 years 2 months ago #31282

Hi
As I am followed as per your instruction but still not able to generate ECMWEF file for my geometry file. hereby I attaching my geometry file details in JPG format,
Attachments:
The administrator has disabled public write access.

ConvertECMWF.py 6 years 2 months ago #31283

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

This script doesn't use your geometry file. Only your model outer bounds are requested.

The following command works fine for me:
python [path_to_your_installation_folder]/v7p3r0/scripts/python27/converters/convertECMWF.py --from='2011-02-15' --stop='2011-03-15' --bl='-3,75' --tr='27,95' --dataset='interim' --stream='oper' ecmwf.slf

Which version of the script are you using and what is your error message?

Regards,
Laurent
The administrator has disabled public write access.

ConvertECMWF.py 6 years 2 months ago #31284

i am using V7p3r0 version and i am getting following error
C:\opentelemac-mascaret\v7p3\scripts\python27\converters>convertECMWF.py --from 2011-02-15 --stop 2011-03-15 --bl -3,75 --tr 27,95 ecmwf4_1.slf


Interpreting command line options
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

usage: (--help for help)

=> convertECMWF.py [options] rootname
convertECMWF.py: error: argument --bl: expected one argument

C:\opentelemac-mascaret\v7p3\scripts\python27\converters>
The administrator has disabled public write access.

ConvertECMWF.py 6 years 2 months ago #31286

  • Leballeur
  • Leballeur's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 434
  • Thank you received: 163
Please, read again my previous posts and try the syntax I told you with quotation marks and equal signs.

Laurent
The administrator has disabled public write access.
Moderators: pham

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