Error: INQUIRY-unable to find requested variable

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
abhay

Error: INQUIRY-unable to find requested variable

#1 Unread post by abhay »

Hi

While running my application, ROMS reads the state initial conditions, moves on to the forcing files, wherein I am using the Bulk Flux formulation and have the following nc files that are read by roms:
Surface U-wind component
Surface V-wind component
Surface air temperature
Surface air pressure
Surface air relative humidity
Cloud fraction
Rain fall rate
Shortwave radiation flux
Longwave radiation flux

After this step, the simulation blows up and I get this error:


INQUIRY - unable to find requested variable: bhflux
in files:
--> Here it lists my forcing files <--

These are my cpp options:
#define UV_ADV
#define DJ_GRADPS
#define UV_COR
#define UV_VIS2
#define MIX_S_UV
#define SPLINES_VDIFF
#define SPLINES_VVISC
#define TS_U3HADVECTION
#define TS_C4VADVECTION
#define TS_DIF2
#define MIX_S_TS
#define SOLVE3D
#define SALINITY
#define NONLIN_EOS
#define CURVGRID
#define AVERAGES
#define MASKING
#define DIAGNOSTICS_UV
#define DIAGNOSTICS_TS
#define UV_LDRAG
#define BULK_FLUXES
#define ANA_SMFLUX


So, I defined ANA_BTFLUX (https://www.myroms.org/wiki/ANA_BTFLUX: usually zero, which is fine) , but then my application stops compiling, and I get an "undefined reference to ANA_BTFLUX" .
###############################################################################################################

I tried the following as well:

Defining QCORRECTION and SCORRECTION along with providing the SST and SSS .nc file. In that case, the application compiles, but during my simulation, I get the same error, but here, it does not indicate which variable is being requested

INQUIRY - unable to find requested variable:
--> Lists the forcing files <--


Any help would be greatly appreciated.

Best regards
Abhay

Post Reply