Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: problem convert ECMWF to slf by convertECMWF.py

problem convert ECMWF to slf by convertECMWF.py 6 years 4 months ago #30969

  • SAICHENTHUR
  • SAICHENTHUR's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 83
  • Thank you received: 7
Hi all

I am getting this error while i tried compileECMWF.py. I am not able to find what the error says.
Attachments:
The administrator has disabled public write access.

problem convert ECMWF to slf by convertECMWF.py 6 years 4 months ago #30974

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

Yes, I also have this error with the script provided with version 7.2r1 but it works fine with the v7p3r0 distribution. Can you try with the latest version of the scripts please ?

Regards,
Laurent
The administrator has disabled public write access.

problem convert ECMWF to slf by convertECMWF.py 6 years 4 months ago #30975

  • SAICHENTHUR
  • SAICHENTHUR's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 83
  • Thank you received: 7
Hi

Thank you. Can you please tell me how to convert latlong to utm.

Thank you
The administrator has disabled public write access.

problem convert ECMWF to slf by convertECMWF.py 6 years 4 months ago #30976

  • Leballeur
  • Leballeur's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 434
  • Thank you received: 163
This is another question not related to the Telemac system. You can find a lot of free tools to do it on internet or with a GIS software.
But did you manage to run the conversion script successfully?

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

problem convert ECMWF to slf by convertECMWF.py 6 years 4 months ago #30977

  • SAICHENTHUR
  • SAICHENTHUR's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 83
  • Thank you received: 7
Hi
I tried with convertUTM.py but failed to convert.

I tried to convet the slf file in latlong projection to utm projection


Thank you
The administrator has disabled public write access.

problem convert ECMWF to slf by convertECMWF.py 6 years 4 months ago #30979

  • Leballeur
  • Leballeur's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 434
  • Thank you received: 163
I don't understand which data you want to convert to UTM and why...
You don't need to do it to extract ECMWF data.
The administrator has disabled public write access.

problem convert ECMWF to slf by convertECMWF.py 6 years 4 months ago #30980

  • SAICHENTHUR
  • SAICHENTHUR's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 83
  • Thank you received: 7
Hi


I have successfully extarcted ecmwf data and got the data in .slf format.

But this projection is in Latlong. Now I want to convert this .slf projection from latlong to utm


Thank you
The administrator has disabled public write access.

problem convert ECMWF to slf by convertECMWF.py 6 years 4 months ago #30978

  • SAICHENTHUR
  • SAICHENTHUR's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 83
  • Thank you received: 7
Thank you


I used convertECMWF script from v7p1 and it works
The administrator has disabled public write access.

problem convert ECMWF to slf by convertECMWF.py 6 years 4 months ago #30981

  • Leballeur
  • Leballeur's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 434
  • Thank you received: 163
If you want to use the convertUTM.py script, you can find example of use in runSELAFIN.py or convertGEBCO.py for instance, as follow:
slf.slf.MESHX,slf.slf.MESHY,zone = utm.fromLatLong(slf.slf.MESHX,slf.slf.MESHY,zone)
where slf is a serafin object (your file) with its coordinates MESHX and MESHY and zone is the UTM zone number you want.

I hope it helps.

Regards,
Laurent
The administrator has disabled public write access.

problem convert ECMWF to slf by convertECMWF.py 6 years 4 months ago #30982

  • SAICHENTHUR
  • SAICHENTHUR's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 83
  • Thank you received: 7
Sir

I cannot able understand this syntax slf.slf.MESHX,slf.slf.MESHY,zone = utm.fromLatLong(slf.slf.MESHX,slf.slf.MESHY,zone)

Is this for runSELAFIN.py?

Where I can find example for this?

Thank you
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: pham

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