Welcome, Guest
Username: Password: Remember me

TOPIC: BINARY ATMOSPHERIC DATA FILE

BINARY ATMOSPHERIC DATA FILE 3 weeks 1 day ago #46416

  • vengatmanickam
  • vengatmanickam's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 17
  • Thank you received: 1
Hi,

I am currently trying to write a binary wind file by converting it from a .nc file to a .slf file. I have successfully written the binary file, which contains the U and V components of the wind, by extracting data from the selected nodes of the .nc file, writing it in ASCII format, and converting it to binary format based on the example case wind_txy.

However, I am now facing an issue while adding the pressure variable. The methodology I previously mentioned is not working. Is there any other way to create a binary atmospheric file containing both wind and pressure?

Thank you for your reply

With regrads
Vengat
The administrator has disabled public write access.

BINARY ATMOSPHERIC DATA FILE 3 weeks 1 day ago #46417

  • a.barton
  • a.barton's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 865
  • Thank you received: 204
A little FYI...

In Blue Kenue, you can add variables to a SLF file in order to build up a file with multiple variables in it. So... if you converted from .nc to something Blue Kenue can load... then you could possibly use Blue Kenue to create the SLF file for you.

Obviously that's not an automated approach, so if you have a lot of files that may not be best for you. But for 1 or a few files, it might get your job done more quickly.

Alternatively, or in addition, you could request something be added to Blue Kenue to help you. That might take a while before it is added though...

Kindly... Alan

PS Full disclosure... I'm the current lead developer of Blue Kenue.
The administrator has disabled public write access.
The following user(s) said Thank You: vengatmanickam

BINARY ATMOSPHERIC DATA FILE 3 weeks 14 hours ago #46418

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3771
  • Thank you received: 1044
Hi
It was a little bit stupid to spending time to develop something which is in Telemac scripts natively!
Look at converter.py where everything you need is already available (ecmwf2srf and generate_atm)
Regards
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: vengatmanickam

BINARY ATMOSPHERIC DATA FILE 4 days 10 hours ago #46467

Hi,all.
I successfully used code to convert the ECMWF's nc file into the slf file format. However, the original nc file contains data information with latitude and longitude. How can I define the projection information of the nc data and make it consistent with the calculation area? For instance, how can I make it consistent with the projection coordinates of Tpxo in Telemac 2D cas file (GEOGRAPHIC SYSTEM = 2 /: WGS84 UTM North)?
The administrator has disabled public write access.
Moderators: pham

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