Unable to Find NO3 Variable - How to Disable Nitrate Consideration?

Report or discuss software problems and other woes

Moderators: arango, robertson

Post Reply
Message
Author
hyc006
Posts: 30
Joined: Thu Nov 30, 2023 2:12 am
Location: UCSD

Unable to Find NO3 Variable - How to Disable Nitrate Consideration?

#1 Unread post by hyc006 »

I'm currently running a model in ROMS, building it based on the example upwelling cases. However, I encountered an error message:

Code: Select all

NLM: CHECKVARS_NF90 - unable to find model variable: NO3
in file: /home/hyc006/ideal_model/clm_ellipse/ini_ellipse_0213.nc
Found Error: 2    Line: 317      Source: ROMS/Utility/get_state.F, get_state_nf90 ...
It seems to indicate that the Nitrate value is missing, but since my model does not involve any biological analysis, I would like to avoid considering the Nitrate value.
Is there a setting in the .in file where I can disable the reading of the NO3 variable? I apologize if this is a basic question, but I would appreciate any clarification.

Below is the relevant section of my .h file, in case it helps.

Code: Select all

#define UV_ADV        /*use to activate advection terms*/
#define UV_COR        /*use to activate Coriolis term*/
#undef UV_QDRAG      /*use to activate quadratic bottom friction*/
#define UV_VIS2       /*use to activate harmonic horizontal mixing*/

#define MIX_S_UV      /*use if mixing along constant S-surfaces*/
#define DJ_GRADPS     /*use if splines density Jacobian (Shchepetkin, 2000)*/
#define SPLINES_VDIFF /*use if splines reconstruction of vertical diffusion*/
#define SPLINES_VVISC /*use if splines reconstruction of vertical viscosity*/
#define TS_DIF2       /*use to turn ON or OFF harmonic horizontal mixing*/
#define MIX_GEO_TS    /*use if mixing along geopotential (constant depth) surfaces*/

#define TS_U3HADVECTION
#define TS_C4VADVECTION
#define WET_DRY       /*use to activate wetting and drying*/

#define SPHERICAL     /*use if analytical spherical grid*/
#define MASKING       /*use if land/sea masking*/
#define SALINITY      /*use if having salinity*/
#define SOLVE3D       /*use if solving 3D primitive equations*/

#define ANA_DIAG      /*use if customized diagnostics*/
#undef ANA_GRID       /*use if analytical model grid set-up*/
#undef ANA_INITIAL    /*use if analytical initial conditions*/
#define ANA_DRAG

#define BULK_FLUXES   /*use if bulk fluxes computation*/

#ifdef BULK_FLUXES
# define ANA_WINDS    /*use if analytical surface winds*/
# define ANA_CLOUD    /*use if analytical cloud fraction*/
# define ANA_SRFLUX   /*use if analytical surface shortwave radiation flux*/
# define ANA_TAIR     /*use if analytical surface air temperature*/
# define ANA_HUMIDITY /*use if analytical surface air humidity*/
# define ANA_PAIR     /*use if analytical surface air pressure*/
# define ATM_PRESS    /*use to impose atmospheric pressure onto sea surface*/
# define PRESS_COMPENSATE /*use to compensate for boundary without ATM pressure
*/
# define ANA_RAIN     /*use if analytical rain fall rate*/
# undef LONGWAVE      /*use if computing net longwave radiation */
#define EMINUSP       /*use if computing E-P*/
#endif

#define ANA_SMFLUX    /*use if analytical surface momentum stress*/
#define ANA_STFLUX    /*use if analytical surface temperature flux*/
#define ANA_SSFLUX    /*use if analytical surface salinity flux*/
#define ANA_BTFLUX    /*use if analytical bottom temperature flux*/
#define ANA_BSFLUX    /*use if analytical bottom salinity flux*/

/* boundary condition*/
# define RADIATION_2D /*use if tangential phase speed in radiation conditions*/

/* MIxing define */
#define GLS_MIXING    /*use if Generic Length-Scale mixing*/

#if defined GLS_MIXING || defined MY25_MIXING
# undef KANTHA_CLAYSON
# define CANUTO_A
# undef N2S2_HORAVG
# undef RI_SPLINES
#else
# define ANA_VMIX
#endif

Best,
Hsin-Yi

Post Reply