Hello,
I recommend you to look into the notebooks, for instance in the sub-section : "How to do 1d plots ?" and you can find everything you are looking for.
Make sure to include the desired variables in the graphic output in the steering file; and then you can use the scripts provided with Telemac to extract the data.
Here is a simple example to extract from 2 nodes the variable HM0 you mentionned in a txt file :
from data_manip.extraction.telemac_file import TelemacFile
#Open the selafin file
res = TelemacFile('r2d_dean.slf')
# Getting array of time values from file
times = res.times
n1=len(times)
# List of nodes you want to display
nodes = [484,687]
# Getting water depth values over time for each node in nodes
data = res.get_timeseries_on_nodes('WAVE HEIGHT HM0', nodes)
f=open("node_values.txt","w")
n2=len(nodes)
f.write("Time(s)")
for i in range (n2):
f.write(" HM0_"+str(i))
f.write("\n")
for i in range (n1):
f.write(str(times[i]))
for j in range(n2):
f.write(" "+str(data[j][i]))
f.write("\n")
You just have to add the desired points that you need and variables.
Good luck,
Jean-Paul