NGCname

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
uranoscopus
Posts: 26
Joined: Sat Mar 17, 2012 4:54 pm
Location: CNR - IAMC
Contact:

NGCname

#1 Unread post by uranoscopus »

Dears,
which CPP option (and/or *.in variables) requires the NGCNAME variable to actually point a file?
I mean, I put in my *.h CPP option "#undef nesting" BUT the program still looks for a "contact" *.nc file.
I'm trying to setup an application by modifying a nested domains application, the "sandy" coawst test case.
Thanks in advance for tips-
A.

jcwarner
Posts: 1200
Joined: Wed Dec 31, 2003 6:16 pm
Location: USGS, USA

Re: NGCname

#2 Unread post by jcwarner »

for non-nesting make sure you have
Ngrids = 1
NestLayers = 1
GridsInLayer = 1
What is the actual error?

uranoscopus
Posts: 26
Joined: Sat Mar 17, 2012 4:54 pm
Location: CNR - IAMC
Contact:

Re: NGCname

#3 Unread post by uranoscopus »

****SOLVED****
In the coawst.bash I was simply pointing to another directory and *.h file.
ooooops!
**************************



Dear John,
I already hav all of those set to 1, but still I have the problem.

By the way I'm using the Sandy *.in as "template" so maybe there is some other CPP option that requires such NGCNAME variable and associated file?

The application I'm trying to setup has 1 domain for ocean and 3 nested domain for wrf. It's my first attempt with coawst.

Here my precompiling options for ROMS:

Code: Select all

 
#define ROMS_MODEL
#undef NESTING
#define WRF_MODEL
#undef SWAN_MODEL
#undef  WW3_MODEL
#define MCT_LIB
#define MCT_INTERP_OC2AT
#undef MCT_INTERP_WV2AT
#undef MCT_INTERP_OC2WV

#if defined WRF_MODEL && (defined SWAN_MODEL || defined WW3_MODEL)
# define DRAGLIM_DAVIS
# define COARE_TAYLOR_YELLAND
#endif

#ifdef ROMS_MODEL
/* Physics + numerics */
# if defined WW3_MODEL || defined SWAN_MODEL
#  define WEC_VF
#  define WDISS_WAVEMOD
#  define UV_KIRBY
# endif
# define UV_ADV
# define UV_COR
# define UV_VIS2
# define MIX_S_UV
# undef  TS_FIXED
# define TS_U3HADVECTION
# define TS_C4VADVECTION
# undef  TS_MPDATA

# undef SSW_BBL
# ifdef SSW_BBL
#  define SSW_CALC_ZNOT
#  define ANA_SEDIMENT
# else
#  define UV_LOGDRAG
# endif
# if !defined SWAN_MODEL && defined SSW_BBL
#  define ANA_WWAVE
# endif

# define DJ_GRADPS
# define TS_DIF2
# define MIX_GEO_TS
# undef CURVGRID

# define SALINITY
# define SOLVE3D
# define SPLINES_VDIFF
# define SPLINES_VVISC
# define AVERAGES
# define NONLIN_EOS

/* Grid and Initial */
# define MASKING
# define ANA_INITIAL
# define ANA_BRY

/* Forcing */
# ifdef WRF_MODEL
#  undef  BULK_FLUXES
#  define ATM2OCN_FLUXES
#  define ANA_SSFLUX
#  undef  LONGWAVE_OUT
# else
#  define BULK_FLUXES
# endif
# define ANA_NUDGCOEF
# define ATM_PRESS
# define ANA_BTFLUX
# define ANA_BSFLUX
# define ANA_BPFLUX
# define ANA_SPFLUX
# define ANA_SRFLUX
# define EMINUSP
# define SOLAR_SOURCE

/* Turbulence closure */
# define GLS_MIXING
# undef  MY25_MIXING
# define LIMIT_VDIFF
# define LIMIT_VVISC

# if defined GLS_MIXING || defined MY25_MIXING
#  define KANTHA_CLAYSON
#  define N2S2_HORAVG
#  define RI_SPLINES
#  define CRAIG_BANNER
#  define CHARNOK
# endif

# define SSH_TIDES
# define UV_TIDES
# define RAMP_TIDES
# define ANA_FSOBC
# define ANA_M2OBC

/* Output */
# undef DIAGNOSTICS_UV
# undef DIAGNOSTICS_TS
#endif



jcwarner wrote:for non-nesting make sure you have
Ngrids = 1
NestLayers = 1
GridsInLayer = 1
What is the actual error?

Post Reply