Hello,
I'd like to plan several simulations, starting from a restart file, lasting typically 24 hours. I'd like to output a history file every hour but only for the 6 last hours of the simulation, because otherwise if I have a hundred parallel runs, it will take way too much hard drive space, 6 hours is the limit. In the .in file guide, I see the NTSAVG and NTSDIA that allow to tell ROMS when beginning to output average and diag files. But I don't see any NTSHIS and it's exactly what I need! Or is there another way to do this?
Thanks in advance!
François Laenen
NTSHIS??
Re: NTSHIS??
You could run in two segments, one with a long NHIS, the second with a short NHIS.
You could hack output.F to only call wrt_his after a certain timestep.
You could more cleanly add NTSHIS to the input and make it do what you want.
You could hack output.F to only call wrt_his after a certain timestep.
You could more cleanly add NTSHIS to the input and make it do what you want.
Re: NTSHIS??
Ok thank you Kate!
I'll check about hacking the output.F and defining the value.
Can you remind me what is the subroutine called to search the value in the .in file?
François
I'll check about hacking the output.F and defining the value.
Can you remind me what is the subroutine called to search the value in the .in file?
François
Re: NTSHIS??
It is read_phypar in the new code, inp_par in older versions. Just search for NTSAVG/ntsAVG and copy how it is handled.
- m.hadfield
- Posts: 521
- Joined: Tue Jul 01, 2003 4:12 am
- Location: NIWA
Re: NTSHIS??
My advice is to follow Kate's first suggestion: run your model in segments; use a shell or Python script to generate the input files and scripts required.