Welcome, Guest
Username: Password: Remember me

TOPIC: Creating a time varying .slf based on obs data

Creating a time varying .slf based on obs data 12 years 6 months ago #2880

  • ingénieure
  • ingénieure's Avatar
I am trying to generate a time varying wind map (with U, V, and direction) in .slf format based on observed data at 4 airports.

Looking through the BlueKenue documentation it appears as though a binary .pcl file would be the most appropriate format to bring my data into BlueKenue. I have been able to generate an ASCII type .pcl file of wind data for one timestep but my attempt at generating a binary type .pcl file for several timesteps was unsuccessful.

1) Would it be possible to get an example of a binary .pcl file so that I can see how it is formatted?

2) How should I then go about mapping those values for different timestamps onto my mesh in order to generate one time varying .slf file?

Thank you for any help or guidance.
The administrator has disabled public write access.

Re: Creating a time varying .slf based on obs data 12 years 3 months ago #3470

  • sebourban
  • sebourban's Avatar
  • OFFLINE
  • Administrator
  • Principal Scientist
  • Posts: 811
  • Thank you received: 217
Hello,

I would not try to prepare a time-varying SELAFIN file in your situation. Even if you manage to create a binary PCL, Blue Kenue will not be able to map it on a SELAFIN. Further, there is currently no existing public subroutine to read a time-varying SELAFIN from TELEMAC.

Since you only have 4 airports, the best way to do what you are looking for is to prepare your data into a a file similar to a LIQUIDE BOUNDARY FILE. The row of variable could be yours, for instance:
# my header text - 4 airport
T SPEED1 DIR1 SPEED2 DIR2 SPEED3 DIR3 SPEED4 DIR4
(s) x x x x x x x x
0. ....

Then, in the METEO subroutine, you can read these time series by using READ_FIC_FRLIQ('SPEED1' ...), READ_FIC_FRLIQ('DIR1' ...), etc, program you own way of interpolating spatially and finally set WINDX and WINDY for all the points in your mesh.

This is roughly how we do cyclones and huricains for instance.

Hope this helps.
Sébastien.
The administrator has disabled public write access.
Moderators: Serrer, a.barton

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