Hi everyone,
I am trying to set my own case but I have some questions about BULK_FLUX which may be stupid for others. Can anyone give me a hint?
1. In my case, I have generated a bulk fluxes input nc file(bulk_fluxes.nc; This bulk file contains: surface air temperature, relative humidity, precipitation rate, wind speed at 10m, net outgoing longwave radiation, downward longwave radiation, shortwave radiation but does not have surface air pressure) as my surface forcing file and fed it by roms.in. I have defined BULK_FLUX, can ROMS model read my own bulk_fluxes.nc as surface forcing if I also define ANA_SSFLUX ANA_STFLUX ANA_SMFLUX ANA_SRFLUX?
2. If it cannot, How can I use my own forcing file when I define BULK_FLUX?
Thanks a lot for any help!
Best Regards
Qi
doubts about BULK_FLUX
Re: doubts about BULK_FLUX
If you want bulk fluxes, you don't want any of those ANA_SXFLUX options on.
I believe you need air pressure. I don't recall what all it is used for, but I think it goes into converting relative humidity to specific humidity. In a pinch, you can try to set it to 1000 everywhere.
I believe you need air pressure. I don't recall what all it is used for, but I think it goes into converting relative humidity to specific humidity. In a pinch, you can try to set it to 1000 everywhere.
Re: doubts about BULK_FLUX
You can #define ANA_PAIR and ROMS will go to your code in Functionals/ana_pair.h where you can set a default constant value.
It will read all others from the file - which is the default if no 'ANA' is defined.
At runtime you should see the variables it reads from your netcdf file, but not get an error that Pair is unknown.
At the end of the run ROMS reports which Functionals were used - make sure you see your customized ana_pair.h there.
By "net outgoing longwave radiation" do you mean "net longwave". If you want ROMS to compute outgoing longwave from SST then #define LONGWAVE_OUT and check that it reads downward longwave, by default it will look for net longwave. Be careful with sign conventions for upward and downward.
It will read all others from the file - which is the default if no 'ANA' is defined.
At runtime you should see the variables it reads from your netcdf file, but not get an error that Pair is unknown.
At the end of the run ROMS reports which Functionals were used - make sure you see your customized ana_pair.h there.
By "net outgoing longwave radiation" do you mean "net longwave". If you want ROMS to compute outgoing longwave from SST then #define LONGWAVE_OUT and check that it reads downward longwave, by default it will look for net longwave. Be careful with sign conventions for upward and downward.
John Wilkin: DMCS Rutgers University
71 Dudley Rd, New Brunswick, NJ 08901-8521, USA. ph: 609-630-0559 jwilkin@rutgers.edu
71 Dudley Rd, New Brunswick, NJ 08901-8521, USA. ph: 609-630-0559 jwilkin@rutgers.edu
Re: doubts about BULK_FLUX
Hi Kate and Wilkin,
Thanks a lot for your kind and careful reminding. It makes sense to me now. I will have a try following your guidance.
Best regards
Qi
Thanks a lot for your kind and careful reminding. It makes sense to me now. I will have a try following your guidance.
Best regards
Qi