Welcome, Guest
Username: Password: Remember me

TOPIC: Rename variables

Rename variables 8 months 4 weeks ago #44254

  • amar.zemmour
  • amar.zemmour's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 1
Hello everyone,

I would appreciate if someone could help me with this error message below. It is about modifying variable names in 2d slf file (run_telfile.py alter --rename).

Thank you.
Attachments:
The administrator has disabled public write access.

Rename variables 8 months 4 weeks ago #44255

  • kanak31
  • kanak31's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 8
Hello,

As per my knowledge, the Telemac2d recognizes the wind variable as "WIND ALONG XY" and not as 'WINDXY U & WINDXY V'.

so try to rename the variable accordingly.

Regards,

Kanak
The administrator has disabled public write access.

Rename variables 8 months 4 weeks ago #44256

  • amar.zemmour
  • amar.zemmour's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 1
Thank you for your response.

I try to use a binary atmospheric file for space and time varying winds. In V8P5 I should rename wind variables as WINDXY in order to not use fortran meteo file.
The administrator has disabled public write access.

Rename variables 8 months 3 weeks ago #44283

  • pham
  • pham's Avatar
  • OFFLINE
  • Administrator
  • Posts: 1559
  • Thank you received: 602
Hello Amar,

What I know as names of variables for wind are WINDX and WINDY not WINDXY U nor WINDXY V.
I would try to run run_telfile.py alter in 2 steps:
run_telfile.py alter –rename ’WIND ALONG X=WINDX’ name_old_file name_new_file_X
run_telfile.py alter –rename ’WIND ALONG Y=WINDY’ name_new_file_X name_new_file

Anyway, I do not know the error written in your figure.

Chi-Tuan
The administrator has disabled public write access.
Moderators: borisb

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