Changes between Initial Version and Version 1 of Ticket #250


Ignore:
Timestamp:
12/08/08 19:29:12 (16 years ago)
Author:
arango
Comment:

I cannot reproduce your problem. I added a passive tracer to the DAMEE_4 application and set T_PASSIVE and ANA_PASSIVE and everything is working fine. In checkvars.F we have:

      DO i=1,Nvar
        get_var(i)=.FALSE.
        have_var(i)=.FALSE.
      END DO
...

# if defined T_PASSIVE
#  if defined ANA_PASSIVE
      IF (nrrec(ng).ne.0) THEN
        DO itrc=1,NPT
          get_var(idTvar(inert(itrc)))=.TRUE.
        END DO
      END IF
#  else
      DO itrc=1,NPT
        get_var(idTvar(inert(itrc)))=.TRUE.
      END DO
#  endif
# endif

This implies that ROMS expects to see the passive tracer variable in INIname NetCDF file only during restart. There is not need to recompile and turn off ANA_PASSIVE. A restart file should have such field when you are restarting (nrrec(ng).ne.0). We do exactly the same thing biology and sediment applications.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #250

    • Property ResolutionWorksForMe
    • Property Status newclosed
    • Property Type bugdefect
  • Ticket #250 – Description

    initial v1  
    11I had a configuration with one uniform passive tracer, set in ana_passive, but requiring explicit boundary conditions. I'm now getting an error:
     2{{{
    23 NLM: CHECKVARS - unable to find model variable: dye_01
    34                  in file: /wrkdir/kate/NEP5/Files/NEP5_SODA_1999.nc
    4 
     5}}}
    56What happened?