Now, I'm trying to do the same for "sensible heat flux", "latent heat flux", "net surface heat flux", and "net surface salt flux". I referred to the webpage: https://www.myroms.org/index.php?page=forcing and created the forcing files for `sward`, `lward`, `shflux`, `swflux`, and `sensible`. However, my log file only shows the longwave radiation variables being read.
Log file excerpt:
Code: Select all
NL ROMS/TOMS: started time-stepping: (Grid: 01 TimeSteps: 000000000001 - 000000259200)
GET_2DFLD - net longwave radiation flux, 0001-02-03 00:00:00.00
(Grid=01, Rec=5, Index=2, File: roms_forcing_lrf_0621.nc)
(Tmin= -367.0000 Tmax= 633.0000) t = 33.0000
(Min = 0.00000000E+00 Max = 0.00000000E+00) regrid = F
GET_3DFLD - potential temperature climatology, 4732-02-09 00:00:00.00
(Grid=01, Rec=2, Index=2, File: clm_smooth_0621_stra_tight_20.nc)
(Tmin= 0.0000 Tmax= 12096000.0000) t = 1728000.0000
(Min = 2.30000007E+01 Max = 2.69986572E+01)
`.in` file:
Code: Select all
NFFILES == 5 ! number of unique forcing files
FRCNAME == /home/hyc006/ideal_model/with_clm/roms_forcing_srf_0621.nc \
/home/hyc006/ideal_model/with_clm/roms_forcing_lrf_0621.nc \
/home/hyc006/ideal_model/with_clm/roms_forcing_shflux_0621.nc \
/home/hyc006/ideal_model/with_clm/roms_forcing_swflux_0621.nc \
/home/hyc006/ideal_model/with_clm/roms_forcing_sensible_0621.nc
Code: Select all
#define BULK_FLUXES
#ifdef BULK_FLUXES
# define ANA_WINDS
# define ANA_CLOUD
# define ANA_SRFLUX /* solar radiation */
# define ANA_STFLUX /* NET SURFACE TRACER FLUX */
# define ANA_SSFLUX
# define ANA_TAIR
# define ANA_HUMIDITY
# define ANA_PAIR
# define ATM_PRESS
# define PRESS_COMPENSATE
# define ANA_RAIN
# undef LONGWAVE /* use Berliand relation */
# define EMINUSP /* compute evaporation minus precipitation */
#endif
Thanks so much for your help!
Hsin-Yi