INQUIRY_NF90 - unable to find requested variable: swflux

Report or discuss software problems and other woes

Moderators: arango, robertson

Post Reply
Message
Author
felipe.jbarragan7
Posts: 23
Joined: Tue Jul 04, 2023 3:22 pm
Location: Universidad de Antioquia

INQUIRY_NF90 - unable to find requested variable: swflux

#1 Unread post by felipe.jbarragan7 »

Hi, good morning.

I have one problem with my case, could please somebody help me ? :oops:

This is my .h

** Application flag: SANTANDER_CASE
** Input script: roms_santander_case.in
*/

#define UV_ADV
#define UV_COR
#define UV_VIS2
#define UV_QDRAG
#define MIX_GEO_UV
#define DJ_GRADPS
#define ATM_PRESS
#define CURVGRID
#define SOLVE3D
#define SPLINES_VVISC
#define SPLINES_VDIFF
#define MASKING
#define STATIONS
#define ANA_INITIAL
#define ANA_STFLUX
#define ANA_BTFLUX
#define GLS_MIXING
#define SALINITY

And the error is about unable to find requested variable: swflux
Specifically:
INQUIRY_NF90 - unable to find requested variable: swflux
in files:
./Inputs/p_001_frc.nc
./Inputs/u_001_frc.nc
./Inputs/v_001_frc.nc
Found Error: 02 Line: 423 Source: ROMS/Utility/inquiry.F, inquiry_nf90
Found Error: 02 Line: 220 Source: ROMS/Utility/get_2dfld.F, get_2dfld_nf90
Found Error: 02 Line: 112 Source: ROMS/Utility/get_2dfld.F
Found Error: 02 Line: 607 Source: ROMS/Nonlinear/get_data.F
Found Error: 02 Line: 670 Source: ROMS/Nonlinear/initial.F
Found Error: 02 Line: 197 Source: ROMS/Drivers/nl_roms.h, ROMS_initialize

The 3 .nc are dates of wind and surface pressure of 3 days.

Thanks for some help.

User avatar
wilkin
Posts: 920
Joined: Mon Apr 28, 2003 5:44 pm
Location: Rutgers University
Contact:

Re: INQUIRY_NF90 - unable to find requested variable: swflux

#2 Unread post by wilkin »

It looks like you want to prescribe temperature and salinity surface boundary conditions with analytical functionals (because you have #define ANA_STFLUX). In that case you also need #define ANA_SSFLUX, otherwise the default action is to look for the data amongst the forcing netcdf file list.
John Wilkin: DMCS Rutgers University
71 Dudley Rd, New Brunswick, NJ 08901-8521, USA. ph: 609-630-0559 jwilkin@rutgers.edu

felipe.jbarragan7
Posts: 23
Joined: Tue Jul 04, 2023 3:22 pm
Location: Universidad de Antioquia

Re: INQUIRY_NF90 - unable to find requested variable: swflux

#3 Unread post by felipe.jbarragan7 »

Thanks so much Wilkin.

The problem was it.

But, now is other problem with:

Program received signal SIGFPE: Floating-point exception - erroneous arithmetic operation.

Backtrace for this error:
#0 0x7fc355a6e960 in ???
#1 0x7fc355a6dac5 in ???
#2 0x7fc35575e51f in ???
#3 0x561b93338719 in __mod_netcdf_MOD_netcdf_get_fvar_1d
at /home/felipejbarragan11/roms_project/test/MyTest/ROMSSantander/Build_romsG/mod_netcdf.f90:1845
#4 0x561b936fdf93 in get_ngfld_nf90_
at /home/felipejbarragan11/roms_project/test/MyTest/ROMSSantander/Build_romsG/get_ngfld.f90:285
#5 0x561b936fffb7 in get_ngfld_
at /home/felipejbarragan11/roms_project/test/MyTest/ROMSSantander/Build_romsG/get_ngfld.f90:82
#6 0x561b934fa0db in get_data_
at /home/felipejbarragan11/roms_project/test/MyTest/ROMSSantander/Build_romsG/get_data.f90:149
#7 0x561b92c1554d in initial_
at /home/felipejbarragan11/roms_project/test/MyTest/ROMSSantander/Build_romsG/initial.f90:250
#8 0x561b92c12e75 in __roms_kernel_mod_MOD_roms_initialize
at /home/felipejbarragan11/roms_project/test/MyTest/ROMSSantander/Build_romsG/roms_kernel.f90:134
#9 0x561b92c118f3 in myroms
at /home/felipejbarragan11/roms_project/test/MyTest/ROMSSantander/Build_romsG/master.f90:75
#10 0x561b92c11b5a in main
at /home/felipejbarragan11/roms_project/test/MyTest/ROMSSantander/Build_romsG/master.f90:50
Floating point exception

Is finally, after run it

Model Input Parameters: ROMS/TOMS version 4.2
Wednesday - August 23, 2023 - 10:36:09 AM
--------------------------------------------------------------------------------

Santander Test

Operating system : Linux
CPU/hardware : x86_64
Compiler system : gfortran
Compiler command : /usr/bin/gfortran
Compiler flags : -frepack-arrays -fallow-argument-mismatch -g -O0 -fbounds-check -fbacktrace -fcheck=all -finit-real=nan -ffpe-trap=invalid,zero,overflow -
SVN Root URL : https://www.myroms.org/svn/src/trunk
SVN Revision : 1177

Local Root : /home/felipejbarragan11/roms/trunk
Header Dir : /home/felipejbarragan11/roms_project/test/MyTest/ROMSSantander
Header file : santander_case.h
Analytical Dir : /home/felipejbarragan11/roms_project/test/MyTest/ROMSSantander

Resolution, Grid 01: 1366x220x15, Parallel Threads: 1, Tiling: 1x1


Physical Parameters, Grid: 01
=============================

288 ntimes Number of timesteps for 3-D equations.
300.000 dt Timestep size (s) for 3-D equations.
60 ndtfast Number of timesteps for 2-D equations between
each 3D timestep.
1 ERstr Starting ensemble/perturbation run number.
1 ERend Ending ensemble/perturbation run number.
0 nrrec Number of restart records to read from disk.
T LcycleRST Switch to recycle time-records in restart file.
72 nRST Number of timesteps between the writing of data
into restart fields.
1 ninfo Number of timesteps between print of information
to standard output.
1 nSTA Number of timesteps between the writing of data
the stations file.
T ldefout Switch to create a new output NetCDF file(s).
72 nHIS Number of timesteps between the writing fields
into history file.
0 nQCK Number of timesteps between the writing fields
into quicksave file.
1.5000E+01 nl_visc2 NLM Horizontal, harmonic mixing coefficient
(m2/s) for momentum.
F LuvSponge Turning OFF sponge on horizontal momentum.
F LtracerSponge(01) Turning OFF sponge on tracer 01: temp
F LtracerSponge(02) Turning OFF sponge on tracer 02: salt
1.0000E-06 Akt_bak(01) Background vertical mixing coefficient (m2/s)
for tracer 01: temp
1.0000E-06 Akt_bak(02) Background vertical mixing coefficient (m2/s)
for tracer 02: salt
2.0000E-02 Akv_bak Background vertical mixing coefficient (m2/s)
for momentum.
5.0000E-06 Akk_bak Background vertical mixing coefficient (m2/s)
for turbulent energy.
5.0000E-06 Akp_bak Background vertical mixing coefficient (m2/s)
for turbulent generic statistical field.
3.000 gls_p GLS stability exponent.
1.500 gls_m GLS turbulent kinetic energy exponent.
-1.000 gls_n GLS turbulent length scale exponent.
7.6000E-06 gls_Kmin GLS minimum value of turbulent kinetic energy.
1.0000E-12 gls_Pmin GLS minimum value of dissipation.
5.4770E-01 gls_cmu0 GLS stability coefficient.
1.4400E+00 gls_c1 GLS shear production coefficient.
1.9200E+00 gls_c2 GLS dissipation coefficient.
-4.0000E-01 gls_c3m GLS stable buoyancy production coefficient.
1.0000E+00 gls_c3p GLS unstable buoyancy production coefficient.
1.0000E+00 gls_sigk GLS constant Schmidt number for TKE.
1.3000E+00 gls_sigp GLS constant Schmidt number for PSI.
1400.000 charnok_alpha Charnok factor for Zos calculation.
0.500 zos_hsig_alpha Factor for Zos calculation using Hsig(Awave).
0.250 sz_alpha Factor for Wave dissipation surface tke flux .
100.000 crgban_cw Factor for Craig/Banner surface tke flux.
3.0000E-04 rdrg Linear bottom drag coefficient (m/s).
1.5000E-03 rdrg2 Quadratic bottom drag coefficient.
2.0000E-02 Zob Bottom roughness (m).
2.0000E-02 Zos Surface roughness (m).
2 Vtransform S-coordinate transformation equation.
4 Vstretching S-coordinate stretching function.
8.0000E+00 theta_s S-coordinate surface control parameter.
4.0000E+00 theta_b S-coordinate bottom control parameter.
20.000 Tcline S-coordinate surface/bottom layer width (m) used
in vertical coordinate stretching.
1025.000 rho0 Mean density (kg/m3) for Boussinesq approximation.
730319.000 dstart Time-stamp assigned to model initialization (days).
19000101.00 time_ref Reference time for units attribute (yyyymmdd.dd)
0.0000E+00 Tnudg(01) Nudging/relaxation time scale (days)
for tracer 01: temp
0.0000E+00 Tnudg(02) Nudging/relaxation time scale (days)
for tracer 02: salt
0.0000E+00 Znudg Nudging/relaxation time scale (days)
for free-surface.
0.0000E+00 M2nudg Nudging/relaxation time scale (days)
for 2D momentum.
0.0000E+00 M3nudg Nudging/relaxation time scale (days)
for 3D momentum.
0.0000E+00 obcfac Factor between passive and active
open boundary conditions.
F VolCons(1) NLM western edge boundary volume conservation.
F VolCons(2) NLM southern edge boundary volume conservation.
F VolCons(3) NLM eastern edge boundary volume conservation.
F VolCons(4) NLM northern edge boundary volume conservation.
14.000 T0 Background potential temperature (C) constant.
35.000 S0 Background salinity (PSU) constant.
1027.000 R0 Background density (kg/m3) used in linear Equation
of State.
1.7000E-04 Tcoef Thermal expansion coefficient (1/Celsius).
0.0000E+00 Scoef Saline contraction coefficient (1/PSU).
1.000 gamma2 Slipperiness variable: free-slip (1.0) or
no-slip (-1.0).
F LuvSrc Turning OFF momentum point Sources/Sinks.
F LwSrc Turning OFF volume influx point Sources/Sinks.
F LtracerSrc(01) Turning OFF point Sources/Sinks on tracer 01: temp
F LtracerSrc(02) Turning OFF point Sources/Sinks on tracer 02: salt
F LsshCLM Turning OFF processing of SSH climatology.
F Lm2CLM Turning OFF processing of 2D momentum climatology.
F Lm3CLM Turning OFF processing of 3D momentum climatology.
F LtracerCLM(01) Turning OFF processing of climatology tracer 01: temp
F LtracerCLM(02) Turning OFF processing of climatology tracer 02: salt
F LnudgeM2CLM Turning OFF nudging of 2D momentum climatology.
F LnudgeM3CLM Turning OFF nudging of 3D momentum climatology.
F LnudgeTCLM(01) Turning OFF nudging of climatology tracer 01: temp
F LnudgeTCLM(02) Turning OFF nudging of climatology tracer 02: salt

T Hout(idFsur) Write out free-surface.
T Hout(idUbar) Write out 2D U-momentum component.
T Hout(idVbar) Write out 2D V-momentum component.
T Hout(idUvel) Write out 3D U-momentum component.
T Hout(idVvel) Write out 3D V-momentum component.
T Hout(idWvel) Write out W-momentum component.

1 inp_lib Using standard NetCDF library for input files.
1 out_lib Using standard NetCDF library for output files.

Output/Input Files:

Output Restart File: ./Outputs/p2_frc_y_bry_rst.nc
Output History File: ./Outputs/p2_frc_y_bry_his.nc
Output Stations File: p2_frc_y_bry_sta.nc
Input Grid File: ./Inputs/seagrid_Malla_Detalle_mejorada_325m_smooth10.nc
Input Forcing File 01: ./Inputs/p_001_frc.nc
Input Forcing File 02: ./Inputs/u_001_frc.nc
Input Forcing File 03: ./Inputs/v_001_frc.nc
Input Lateral Boundary File 01: ./Inputs/001_bry.nc
Station positions File: ./Inputs/stations_Bimep_MallaDetalle_325m.in
ROMS I/O variables Metadata File: /home/felipejbarragan11/roms_project/test/varinfo.yaml

Tile partition information for Grid 01: 1366x220x15 tiling: 1x1

tile Istr Iend Jstr Jend Npts

0 1 1366 1 220 4507800

Tile minimum and maximum fractional coordinates for Grid 01:
(interior points only)

tile Xmin Xmax Ymin Ymax grid

0 -2.50 1369.50 -2.50 223.50 RHO-points

0 -3.00 1369.00 -2.50 223.50 U-points

0 -2.50 1369.50 -3.00 223.00 V-points


Stations Parameters, Grid: 01
=============================

12 Nstation Number of stations to write out into stations file.
T Sout(idFsur) Write out free-surface.
T Sout(idUbar) Write out 2D U-momentum component.
T Sout(idVbar) Write out 2D V-momentum component.
T Sout(idUvel) Write out 3D U-momentum component.
T Sout(idVvel) Write out 3D V-momentum component.
T Sout(idWvel) Write out W-momentum component.
T Sout(idDano) Write out density anomaly.
T Sout(idVvis) Write out vertical viscosity coefficient.
T Sout(idTdif) Write out vertical T-diffusion coefficient.
T Sout(idSdif) Write out vertical S-diffusion coefficient.

Flag and positions for station 0001: 0 822.0000 68.0000
Flag and positions for station 0002: 0 827.0000 68.0000
Flag and positions for station 0003: 0 830.0000 71.0000
Flag and positions for station 0004: 0 833.0000 74.0000
Flag and positions for station 0005: 0 833.0000 77.0000
Flag and positions for station 0006: 0 827.0000 77.0000
Flag and positions for station 0007: 0 822.0000 72.0000
Flag and positions for station 0008: 0 769.0000 132.0000
Flag and positions for station 0009: 0 826.0000 74.0000
Flag and positions for station 0010: 0 211.0000 29.0000
Flag and positions for station 0011: 0 484.0000 80.0000
Flag and positions for station 0012: 0 630.0000 80.0000

Tracer Advection Scheme: NLM
========================

Variable Grid Horizontal Vertical
--------- ---- ------------ ------------

temp 1 MPDATA MPDATA

salt 1 MPDATA MPDATA

Akima4 Fourth-order Akima advection
Centered2 Second-order centered differences advection
Centered4 Fourth-order centered differences advection
HSIMT Third High-order Spatial Inteporlation at Middle Time Advection with TVD limiter
MPDATA Multidimensional Positive Definite Advection Algorithm, recursive method
Splines Conservative Parabolic Splines Reconstruction Advection (only vertical; not recommended)
Split_U3 Split third-order Upstream Advection
Upstream3 Third-order Upstream-biased Advection (only horizontal)


Lateral Boundary Conditions: NLM
============================

Variable Grid West Edge South Edge East Edge North Edge
--------- ---- ---------- ---------- ---------- ----------

zeta 1 Chapman Imp Closed Closed Chapman Imp

ubar 1 Flather Closed Closed Flather

vbar 1 Flather Closed Closed Flather

u 1 Periodic Periodic Periodic Periodic

v 1 Periodic Periodic Periodic Periodic

temp 1 Periodic Periodic Periodic Periodic

salt 1 Periodic Periodic Periodic Periodic

tke 1 Periodic Periodic Periodic Periodic

Activated C-preprocessing Options:

SANTANDER_CASE Santander Test
ANA_BTFLUX Analytical kinematic bottom temperature flux
ANA_INITIAL Analytical initial conditions
ANA_SSFLUX Analytical kinematic surface salinity flux
ANA_STFLUX Analytical kinematic surface temperature flux
ASSUMED_SHAPE Using assumed-shape arrays
ATM_PRESS Impose inverse barometer effect in pressure gradient term
CURVGRID Orthogonal curvilinear grid
DJ_GRADPS Parabolic Splines density Jacobian (Shchepetkin, 2002)
DOUBLE_PRECISION Double precision arithmetic numerical kernel.
GLS_MIXING Generic Length-Scale turbulence closure
MASKING Land/Sea masking
MIX_GEO_UV Mixing of momentum along geopotential surfaces
NONLINEAR Nonlinear Model
!NONLIN_EOS Linear Equation of State for seawater
POWER_LAW Power-law shape time-averaging barotropic filter
PROFILE Time profiling activated
K_GSCHEME Third-order upstream advection of TKE fields
!RST_SINGLE Double precision fields in restart NetCDF file
SALINITY Using salinity
SOLVE3D Solving 3D Primitive Equations
SPLINES_VDIFF Parabolic Spline Reconstruction for Vertical Diffusion
SPLINES_VVISC Parabolic Spline Reconstruction for Vertical Viscosity
STATIONS Writing out station data
UV_ADV Advection of momentum
UV_COR Coriolis term
UV_U3HADVECTION Third-order upstream horizontal advection of 3D momentum
UV_C4VADVECTION Fourth-order centered vertical advection of momentum
UV_QDRAG Quadratic bottom stress
UV_VIS2 Harmonic mixing of momentum
VAR_RHO_2D Variable density barotropic mode

Process Information:

Thread # 0 (pid= 21676) is active.

INITIAL: Configuring and initializing forward nonlinear model ...
*******

GET_GRID_NF90 - angle between XI-axis and EAST: angler
(Grid = 01, File: ./Inputs/seagrid_Malla_Detalle_mejorada_325m_smooth10.nc)
(Min = -2.14939282E-10 Max = 7.04179173E-11)
GET_GRID_NF90 - reciprocal XI-grid spacing: pm
(Grid = 01, File: ./Inputs/seagrid_Malla_Detalle_mejorada_325m_smooth10.nc)
(Min = 4.22257608E-03 Max = 4.26819532E-03)
GET_GRID_NF90 - reciprocal ETA-grid spacing: pn
(Grid = 01, File: ./Inputs/seagrid_Malla_Detalle_mejorada_325m_smooth10.nc)
(Min = 3.05496680E-03 Max = 3.08797128E-03)
GET_GRID_NF90 - XI-derivative of inverse metric factor pn: dndx
(Grid = 01, File: ./Inputs/seagrid_Malla_Detalle_mejorada_325m_smooth10.nc)
(Min = -1.73926871E-05 Max = 2.07980104E-05)
GET_GRID_NF90 - ETA-derivative of inverse metric factor pm: dmde
(Grid = 01, File: ./Inputs/seagrid_Malla_Detalle_mejorada_325m_smooth10.nc)
(Min = -1.14902121E-02 Max = 0.00000000E+00)
GET_GRID_NF90 - Coriolis parameter at RHO-points: f
(Grid = 01, File: ./Inputs/seagrid_Malla_Detalle_mejorada_325m_smooth10.nc)
(Min = 9.99313979E-05 Max = 1.01124653E-04)
GET_GRID_NF90 - bathymetry at RHO-points: h
(Grid = 01, File: ./Inputs/seagrid_Malla_Detalle_mejorada_325m_smooth10.nc)
(Min = 5.00000000E+00 Max = 3.24060637E+03)
GET_GRID_NF90 - x-location of RHO-points: x-rho
(Grid = 01, File: ./Inputs/seagrid_Malla_Detalle_mejorada_325m_smooth10.nc)
(Min = -5.89199676E+05 Max = -1.44723125E+05)
GET_GRID_NF90 - y-location of RHO-points: y_rho
(Grid = 01, File: ./Inputs/seagrid_Malla_Detalle_mejorada_325m_smooth10.nc)
(Min = 5.34460443E+06 Max = 5.44392601E+06)
GET_GRID_NF90 - x-location of PSI-points: x_psi
(Grid = 01, File: ./Inputs/seagrid_Malla_Detalle_mejorada_325m_smooth10.nc)
(Min = -5.89037102E+05 Max = -1.44885699E+05)
GET_GRID_NF90 - y-location of PSI-points: y-psi
(Grid = 01, File: ./Inputs/seagrid_Malla_Detalle_mejorada_325m_smooth10.nc)
(Min = 5.34482914E+06 Max = 5.44370130E+06)
GET_GRID_NF90 - x-location of U-points: x_u
(Grid = 01, File: ./Inputs/seagrid_Malla_Detalle_mejorada_325m_smooth10.nc)
(Min = -5.89037102E+05 Max = -1.44885699E+05)
GET_GRID_NF90 - y-location of U-points: y_u
(Grid = 01, File: ./Inputs/seagrid_Malla_Detalle_mejorada_325m_smooth10.nc)
(Min = 5.34460443E+06 Max = 5.44392601E+06)
GET_GRID_NF90 - x-location of V-points: x_v
(Grid = 01, File: ./Inputs/seagrid_Malla_Detalle_mejorada_325m_smooth10.nc)
(Min = -5.89199676E+05 Max = -1.44723125E+05)
GET_GRID_NF90 - y-location of V-points: y_v
(Grid = 01, File: ./Inputs/seagrid_Malla_Detalle_mejorada_325m_smooth10.nc)
(Min = 5.34482914E+06 Max = 5.44370130E+06)
GET_GRID_NF90 - longitude of RHO-points: lon_rho
(Grid = 01, File: ./Inputs/seagrid_Malla_Detalle_mejorada_325m_smooth10.nc)
(Min = -5.29853801E+00 Max = -1.30146199E+00)
GET_GRID_NF90 - latitude of RHO-points lat_rho
(Grid = 01, File: ./Inputs/seagrid_Malla_Detalle_mejorada_325m_smooth10.nc)
(Min = 4.32514718E+01 Max = 4.38985439E+01)
GET_GRID_NF90 - longitude of PSI-points: lon_psi
(Grid = 01, File: ./Inputs/seagrid_Malla_Detalle_mejorada_325m_smooth10.nc)
(Min = -5.29707602E+00 Max = -1.30292398E+00)
GET_GRID_NF90 - latitude of PSI-points lat_psi
(Grid = 01, File: ./Inputs/seagrid_Malla_Detalle_mejorada_325m_smooth10.nc)
(Min = 4.32529437E+01 Max = 4.38970878E+01)
GET_GRID_NF90 - longitude of U-points: lon_u
(Grid = 01, File: ./Inputs/seagrid_Malla_Detalle_mejorada_325m_smooth10.nc)
(Min = -5.29707602E+00 Max = -1.30292398E+00)
GET_GRID_NF90 - latitude of U-points: lat_u
(Grid = 01, File: ./Inputs/seagrid_Malla_Detalle_mejorada_325m_smooth10.nc)
(Min = 4.32514718E+01 Max = 4.38985439E+01)
GET_GRID_NF90 - longitude of V-points: lon_v
(Grid = 01, File: ./Inputs/seagrid_Malla_Detalle_mejorada_325m_smooth10.nc)
(Min = -5.29853801E+00 Max = -1.30146199E+00)
GET_GRID_NF90 - latitude of V-points: lat_v
(Grid = 01, File: ./Inputs/seagrid_Malla_Detalle_mejorada_325m_smooth10.nc)
(Min = 4.32529437E+01 Max = 4.38970878E+01)
GET_GRID_NF90 - mask on RHO-points: mask_rho
(Grid = 01, File: ./Inputs/seagrid_Malla_Detalle_mejorada_325m_smooth10.nc)
(Min = 0.00000000E+00 Max = 1.00000000E+00)
GET_GRID_NF90 - mask on PSI-points: mask_psi
(Grid = 01, File: ./Inputs/seagrid_Malla_Detalle_mejorada_325m_smooth10.nc)
(Min = 0.00000000E+00 Max = 1.00000000E+00)
GET_GRID_NF90 - mask on U-points: mask_u
(Grid = 01, File: ./Inputs/seagrid_Malla_Detalle_mejorada_325m_smooth10.nc)
(Min = 0.00000000E+00 Max = 1.00000000E+00)
GET_GRID_NF90 - mask on V-points: mask_v
(Grid = 01, File: ./Inputs/seagrid_Malla_Detalle_mejorada_325m_smooth10.nc)
(Min = 0.00000000E+00 Max = 1.00000000E+00)

Vertical S-coordinate System, Grid 01:

level S-coord Cs-curve Z at hmin at hc half way at hmax

15 0.0000000 0.0000000 0.000 0.000 0.000 0.000
14 -0.0666667 -0.0003983 -0.267 -0.671 -1.956 -2.608
13 -0.1333333 -0.0017081 -0.535 -1.350 -5.372 -8.152
12 -0.2000000 -0.0043062 -0.804 -2.043 -10.854 -17.845
11 -0.2666667 -0.0089353 -1.076 -2.756 -19.592 -34.079
10 -0.3333333 -0.0169029 -1.350 -3.502 -33.682 -61.066
9 -0.4000000 -0.0304126 -1.630 -4.304 -56.655 -105.902
8 -0.4666667 -0.0530642 -1.920 -5.197 -94.284 -180.182
7 -0.5333333 -0.0905094 -2.224 -6.238 -155.628 -302.107
6 -0.6000000 -0.1510347 -2.551 -7.510 -253.970 -498.368
5 -0.6666667 -0.2452550 -2.912 -9.119 -406.326 -803.152
4 -0.7333333 -0.3828872 -3.316 -11.162 -628.274 -1247.753
3 -0.8000000 -0.5634305 -3.763 -13.634 -919.011 -1830.559
2 -0.8666667 -0.7610631 -4.228 -16.277 -1237.142 -2468.405
1 -0.9333333 -0.9210683 -4.654 -18.544 -1494.955 -2985.064
0 -1.0000000 -1.0000000 -5.000 -20.000 -1622.803 -3240.606

Time Splitting Weights for Grid 01: ndtfast = 60 nfast = 83
==================================

Primary Secondary Accumulated to Current Step

1-0.0003540175431531 0.0166666666666667-0.0003540175431531 0.0166666666666667
2-0.0006728864853186 0.0166725669590526-0.0010269040284716 0.0333392336257192
3-0.0009566069754562 0.0166837817338079-0.0019835110039279 0.0500230153595271
4-0.0012051795928536 0.0166997251833988-0.0031886905967814 0.0667227405429259
5-0.0014186058436584 0.0167198115099464-0.0046072964404399 0.0834425520528722
6-0.0015968888560238 0.0167434549406740-0.0062041852964637 0.1001860069935462
7-0.0017400342738662 0.0167700697549411-0.0079442195703299 0.1169560767484873
8-0.0018480513492362 0.0167990703261722-0.0097922709195661 0.1337551470746595
9-0.0019209542333024 0.0168298711819928-0.0117132251528686 0.1505850182566522
10-0.0019587634659484 0.0168618870858811-0.0136719886188169 0.1674469053425334
11-0.0019615076639817 0.0168945331436469-0.0156334962827987 0.1843414384861803
12-0.0019292254079571 0.0169272249380466-0.0175627216907558 0.2012686634242269
13-0.0018619673276114 0.0169593786948459-0.0194246890183672 0.2182280421190729
14-0.0017597983859117 0.0169904114836395-0.0211844874042789 0.2352184536027123
15-0.0016228003617172 0.0170197414567380-0.0228072877659961 0.2522381950594503
16-0.0014510745310524 0.0170467881294333-0.0242583622970485 0.2692849831888836
17-0.0012447445469948 0.0170709727049508-0.0255031068440433 0.2863559558938343
18-0.0010039595181742 0.0170917184474007-0.0265070663622175 0.3034476743412350
19-0.0007288972858858 0.0171084511060370-0.0272359636481033 0.3205561254472720
20-0.0004197678998158 0.0171205993941351-0.0276557315479191 0.3376767248414071
21-0.0000768172923796 0.0171275955257987-0.0277325488402987 0.3548043203672058
22 0.0002996688483262 0.0171288758140050-0.0274328799919725 0.3719331961812107
23 0.0007093610069602 0.0171238813331995-0.0267235189850123 0.3890570775144103
24 0.0011518815707581 0.0171120586497502-0.0255716374142542 0.4061691361641604
25 0.0016268003607435 0.0170928606235709-0.0239448370535106 0.4232619967877314
26 0.0021336299643244 0.0170657472842252-0.0218112070891863 0.4403277440719565
27 0.0026718208692771 0.0170301867848198-0.0191393862199091 0.4573579308567763
28 0.0032407563991181 0.0169856564369985-0.0158986298207911 0.4743435872937748
29 0.0038397474498617 0.0169316438303465-0.0120588823709294 0.4912752311241213
30 0.0044680270281659 0.0168676480395155-0.0075908553427635 0.5081428791636368
31 0.0051247445908649 0.0167931809223794-0.0024661107518986 0.5249360600860161
32 0.0058089601858883 0.0167077685125316 0.0033428494339897 0.5416438285985478
33 0.0065196383945684 0.0166109525094335 0.0098624878285581 0.5582547811079812
34 0.0072556420753336 0.0165022918695240 0.0171181299038917 0.5747570729775052
35 0.0080157259087899 0.0163813645016018 0.0251338558126816 0.5911384374791070
36 0.0087985297441882 0.0162477690697886 0.0339323855568698 0.6073862065488956
37 0.0096025717472802 0.0161011269073855 0.0435349573041500 0.6234873334562812
38 0.0104262413495604 0.0159410840449308 0.0539611986537104 0.6394284175012119
39 0.0112677919988951 0.0157673133557715 0.0652289906526054 0.6551957308569835
40 0.0121253337115396 0.0155795168224566 0.0773543243641450 0.6707752476794401
41 0.0129968254255413 0.0153774279272642 0.0903511497896863 0.6861526756067043
42 0.0138800671555305 0.0151608141701719 0.1042312169452169 0.7013134897768762
43 0.0147726919488984 0.0149294797175797 0.1190039088941153 0.7162429694944560
44 0.0156721576433617 0.0146832681850981 0.1346760665374769 0.7309262376795540
45 0.0165757384259147 0.0144220655577087 0.1512518049633916 0.7453483032372628
46 0.0174805161931688 0.0141458032506101 0.1687323211565604 0.7594941064878729
47 0.0183833717130782 0.0138544613140573 0.1871156928696386 0.7733485678019302
48 0.0192809755880535 0.0135480717855060 0.2063966684576921 0.7868966395874362
49 0.0201697790194623 0.0132267221923718 0.2265664474771545 0.8001233617798079
50 0.0210460043735164 0.0128905592087141 0.2476124518506709 0.8130139209885220
51 0.0219056355485466 0.0125397924691555 0.2695180873992175 0.8255537134576775
52 0.0227444081436646 0.0121746985433464 0.2922624955428820 0.8377284120010239
53 0.0235577994288118 0.0117956250742853 0.3158202949716938 0.8495240370753092
54 0.0243410181161952 0.0114029950838051 0.3401613130878890 0.8609270321591143
55 0.0250889939331104 0.0109973114485352 0.3652503070209994 0.8719243436076495
56 0.0257963669961522 0.0105791615496500 0.3910466740171517 0.8825035051572995
57 0.0264574769868114 0.0101492220997141 0.4175041510039630 0.8926527272570136
58 0.0270663521284594 0.0097082641499339 0.4445705031324225 0.9023609914069476
59 0.0276166979647200 0.0092571582811263 0.4721872010971425 0.9116181496880739
60 0.0281018859392274 0.0087968799817143 0.5002890870363698 0.9204150296697882
61 0.0285149417767724 0.0083285152160605 0.5288040288131421 0.9287435448858486
62 0.0288485336658351 0.0078532661864476 0.5576525624789772 0.9365968110722963
63 0.0290949602425050 0.0073724572920170 0.5867475227214822 0.9439692683643134
64 0.0292461383757876 0.0068875412879753 0.6159936610972698 0.9508568096522887
65 0.0292935907542990 0.0064001056483788 0.6452872518515688 0.9572569153006675
66 0.0292284332743468 0.0059118791358072 0.6745156851259155 0.9631687944364746
67 0.0290413622293988 0.0054247385812347 0.7035570473553143 0.9685935330177093
68 0.0287226413009382 0.0049407158774114 0.7322796886562525 0.9735342488951207
69 0.0282620883507063 0.0044620051890625 0.7605417770069588 0.9779962540841832
70 0.0276490620143322 0.0039909703832173 0.7881908390212909 0.9819872244674006
71 0.0268724480963495 0.0035301526829785 0.8150632871176404 0.9855173771503791
72 0.0259206457666001 0.0030822785480393 0.8409839328842404 0.9885996556984185
73 0.0247815535580255 0.0026502677852627 0.8657654864422659 0.9912499234836811
74 0.0234425551658447 0.0022372418926289 0.8892080416081106 0.9934871653763100
75 0.0218905050481194 0.0018465326398648 0.9110985466562300 0.9953336980161748
76 0.0201117138277064 0.0014816908890628 0.9312102604839364 0.9968153889052376
77 0.0180919334955968 0.0011464956586011 0.9493021939795332 0.9979618845638386
78 0.0158163424156430 0.0008449634336744 0.9651185363951762 0.9988068479975131
79 0.0132695301306719 0.0005813577267471 0.9783880665258481 0.9993882057242601
80 0.0104354819699857 0.0003601988912359 0.9888235484958338 0.9997484046154960
81 0.0072975634582500 0.0001862741917361 0.9961211119540838 0.9999346788072321
82 0.0038385045257686 0.0000646481340986 0.9999596164798524 0.9999993269413306
83 0.0000403835201471 0.0000006730586691 0.9999999999999994 0.9999999999999998

ndtfast, nfast = 60 83 nfast/ndtfast = 1.38333

Centers of gravity and integrals (values must be 1, 1, approx 1/2, 1, 1):

1.000000000000 1.029032332991 0.514516166496 1.000000000000 1.000000000000

Power filter parameters, Fgamma, gamma = 0.28400 0.23667

Metrics information for Grid 01:
===============================

Minimum X-grid spacing, DXmin = 2.34302513E-01 km Water points = 2.34302513E-01 km
Maximum X-grid spacing, DXmax = 2.36810811E-01 km Water points = 2.36673422E-01 km
Minimum Y-grid spacing, DYmin = 3.23853046E-01 km Water points = 3.23853046E-01 km
Maximum Y-grid spacing, DYmax = 3.27319980E-01 km Water points = 3.27130115E-01 km
Minimum Z-grid spacing, DZmin = 2.67064963E-01 m Water points = 2.67064963E-01 m
Maximum Z-grid spacing, DZmax = 6.37846123E+02 m Water points = 6.37846123E+02 m

Minimum barotropic Courant Number = 1.82621184E-01
Maximum barotropic Courant Number = 4.68960547E+00
Maximum Coriolis Courant Number = 3.03357933E-02

ANA_INITIAL - vertically integrated u-momentum component: ubar
(Grid = 01, Min = 0.00000000E+00 Max = 0.00000000E+00)
ANA_INITIAL - vertically integrated v-momentum component: vbar
(Grid = 01, Min = 0.00000000E+00 Max = 0.00000000E+00)
ANA_INITIAL - free-surface: zeta
(Grid = 01, Min = 0.00000000E+00 Max = 0.00000000E+00)
ANA_INITIAL - u-momentum component: u
(Grid = 01, Min = 0.00000000E+00 Max = 0.00000000E+00)
ANA_INITIAL - v-momentum component: v
(Grid = 01, Min = 0.00000000E+00 Max = 0.00000000E+00)
ANA_INITIAL - potential temperature: temp
(Grid = 01, Min = 1.40000000E+01 Max = 1.40000000E+01)
ANA_INITIAL - salinity: salt
(Grid = 01, Min = 3.50000000E+01 Max = 3.50000000E+01)
GET_2DFLD_NF90 - surface u-momentum stress, 3899-07-19 00:00:00.00
(Grid=01, Rec=1, Index=1, File: u_001_frc.nc)
(Tmin= 730319.0000 Tmax= 730321.9583) t = 730319.0000
(Min = -1.29668912E-05 Max = 1.41368562E-04) regrid = T
GET_2DFLD_NF90 - surface v-momentum stress, 3899-07-19 00:00:00.00
(Grid=01, Rec=1, Index=1, File: v_001_frc.nc)
(Tmin= 730319.0000 Tmax= 730321.9583) t = 730319.0000
(Min = -6.97489772E-05 Max = 4.17267946E-05) regrid = T
GET_2DFLD_NF90 - surface air pressure, 3899-07-19 00:00:00.00
(Grid=01, Rec=1, Index=1, File: p_001_frc.nc)
(Tmin= 730319.0000 Tmax= 730321.9583) t = 730319.0000
(Min = 1.01346806E+03 Max = 1.01818100E+03) regrid = T


Please could you help me?

User avatar
wilkin
Posts: 920
Joined: Mon Apr 28, 2003 5:44 pm
Location: Rutgers University
Contact:

Re: INQUIRY_NF90 - unable to find requested variable: swflux

#4 Unread post by wilkin »

Read the Backtrace for this error.

This shows the ultimate failure is associated with trying to read from a netcdf file. But which file? The particular netcdf read was initiated at

Code: Select all

Backtrace for this error:
...
#3 0x561b93338719 in __mod_netcdf_MOD_netcdf_get_fvar_1d
at /home/felipejbarragan11/roms_project/test/MyTest/ROMSSantander/Build_romsG/mod_netcdf.f90:1845
#4 0x561b936fdf93 in get_ngfld_nf90_
at /home/felipejbarragan11/roms_project/test/MyTest/ROMSSantander/Build_romsG/get_ngfld.f90:285
#5 0x561b936fffb7 in get_ngfld_
at /home/felipejbarragan11/roms_project/test/MyTest/ROMSSantander/Build_romsG/get_ngfld.f90:82
#6 0x561b934fa0db in get_data_
at /home/felipejbarragan11/roms_project/test/MyTest/ROMSSantander/Build_romsG/get_data.f90:149
#7 0x561b92c1554d in initial_
So, in your build directory, open file get_data.f90 and see what data it was trying to read at line 149. That should give you a clue.

Alternatively, at the very end of you log you also have the information

Code: Select all

Found Error: 02 Line: 607 Source: ROMS/Nonlinear/get_data.F
That tells you where to look (line 607) in get_data.F for what ROMS was doing when the error occurred.

The log shows ROMS read the first record from each netcdf forcing file. I think the next thing to happen should be to read the second record from each file that it will use to interpolate in time to the model time as the run proceeds. You might want to check whether those files are OK.
John Wilkin: DMCS Rutgers University
71 Dudley Rd, New Brunswick, NJ 08901-8521, USA. ph: 609-630-0559 jwilkin@rutgers.edu

felipe.jbarragan7
Posts: 23
Joined: Tue Jul 04, 2023 3:22 pm
Location: Universidad de Antioquia

Re: INQUIRY_NF90 - unable to find requested variable: swflux

#5 Unread post by felipe.jbarragan7 »

Thank so much for your help Wilkin

I'll do it and check the files
Thanks.

Post Reply