Set it how you need it to be set for your input files. I've had files with both bio_time and ocean_time and had to change the bio variables accordingly. varinfo.dat is a tool for you to use and modify.
So the Vinfo(5) value of "river_time" here is not a bug - simply a default. My personal recommendation is to always overrule the varinfo.dat default by assigning a "time" attribute for every variable in the netcdf file - this avoids any ambiguity.
John Wilkin: DMCS Rutgers University
71 Dudley Rd, New Brunswick, NJ 08901-8521, USA. ph: 609-630-0559 jwilkin@rutgers.edu
wilkin wrote:My personal recommendation is to always overrule the varinfo.dat default by assigning a "time" attribute for every variable in the netcdf file - this avoids any ambiguity.
This is the cleanest way to go. However, depending on how you write your attributes in the NetCDF file, you may end up with a null character at the end of the string. Fortran doesn't know to make that go away before doing the string comparison (or we haven't taught ROMS that yet).