User Forum of Software BASEMENT

BASEMENT
Basic Simulation Environment for computation of environmental flow and natural hazard simulation
Laboratory of Hydraulics, Hydrology and Glaciology (VAW)
ETH Zurich
Basement_Logo

You are not logged in.

#1 2019-12-16 19:15:50

JBarreiro
User
From: Lisbon, Portugal
Registered: 2019-02-12
Posts: 26
Website

Time unit from .sol file

Hello,

I'm having an issue when importing .sol file into QGIS 3.4.11 regarding the timestep units. Altough the time units are defined as seconds in the file, when importing into QGIS, it seems that it is read as hours... never happened before. Any thoughts on this?

DATASET
OBJTYPE "mesh2d"
RT_JULIAN 2433282.500000
BEGSCL
ND 19179
NC 30960
NAME "depth"
TIMEUNITS seconds
TS 0    0x0.000000000000p+0
...
TS 0    6.000000000000e+01
...

crayfish_TS

Many thanks smile


João Barreiro
Environmental Engineer (MSc) - PhD Student

Offline

#2 2019-12-17 11:09:37

JBarreiro
User
From: Lisbon, Portugal
Registered: 2019-02-12
Posts: 26
Website

Re: Time unit from .sol file

I've just managed to solve the problem. In the .sol file, TIMEUNITS' first letter must be capital letter, so "Seconds" instead of "seconds".

Be well wink


João Barreiro
Environmental Engineer (MSc) - PhD Student

Offline

#3 2021-05-06 14:05:53

Gabriele
User
Registered: 2016-01-28
Posts: 2

Re: Time unit from .sol file

There is the same problem with basement 3.1, that not allow to product video with crayfish. The matter is that there is that in the ecwd the string for the timestep is like "
<Grid GridType="Uniform" Name="Timestep">
                <Time TimeType="Single" Name="time = 4200.000000" Value="4200.000000">"


How can it be corrected?

Offline

#4 2021-05-17 09:06:49

Matteo Facchini
Developer
From: Trento
Registered: 2014-09-05
Posts: 278

Re: Time unit from .sol file

There are known issues with the way crayfish handles time.

I suggest you to properly set the time in the mesh layer properties window (double click on mesh layer/Temporal/Provider Time Setting set seconds as unit) and export the animation using the temporal controller.

Offline

Board footer

Powered by FluxBB