Hi, I am using ROMS version 456M. I have a problem to output time-averaged terms in the avg.nc. like Huon, Hvom and quadratic terms.
In my cppdef.h file
# define AVERAGES
# define AVERAGES_FLUXES
# define AVERAGEs_QUADRATIC
# undef AVERAGES_AKV /* save for offline 1D bio model testing */
# undef AVERAGES_AKT /* save for offline 1D bio model testing */
# undef AVERAGES_AKS
# define DIAGNOSTICS_TS /* for shelf-wide temp/salt budget calculations */
# define DIAGNOSTICS_UV /* for shelf-wide momentum budget calculations */
In the ocean.in file
Aout(idHUav) == T ! u-volume flux, Huon
Aout(idHVav) == T ! v-volume flux, Hvom
Aout(idUUav) == T ! quadratic <u*u> term
Aout(idUVav) == T ! quadratic <u*v> term
Can someone help me?
unable to output time-averaged terms in the avg.nc file
Re: unable to output time-averaged terms in the avg.nc file
Since the ROMS source is at 653 I would recommend that you start by updating to the latest and trying again. There have been changes made to that part of the code.
Re: unable to output time-averaged terms in the avg.nc file
Hi Kate,
By using the latest version of ROMS source, version 653, I also ran into a similar situation being not able to create the average NetCDF output file. Any comments on the potential reasons?
Thank
By using the latest version of ROMS source, version 653, I also ran into a similar situation being not able to create the average NetCDF output file. Any comments on the potential reasons?
Thank
Re: unable to output time-averaged terms in the avg.nc file
There's more than one way to get a seg fault. The first thing I would do is recompile with USE_DEBUG and maybe you'll get more information out than all those "Unknown" statements. The second thing I would do is run it in a debugger - debugging is relatively easy when it blows up right at the start.
Re: unable to output time-averaged terms in the avg.nc file
Hi Kate
I have run into this before, and i do did as you suggested here, but the question is when i turn on the DEBUG the model run smoothly. So, there is nothing message can be follow. It is so tricky. What can i do if this happen again when i need the AVERAGE results.
- Shou
I have run into this before, and i do did as you suggested here, but the question is when i turn on the DEBUG the model run smoothly. So, there is nothing message can be follow. It is so tricky. What can i do if this happen again when i need the AVERAGE results.
- Shou
Re: unable to output time-averaged terms in the avg.nc file
I hate when that happens. I guess that leaves adding print statements to figure out what's going on.