ESMG / pyroms

Python tools for the Regional Ocean Modeling System (ROMS)
Other
138 stars 88 forks source link

ROMS River forcing from Gauge station data. #43

Open noviceroms opened 2 years ago

noviceroms commented 2 years ago

Hi Kate,

I have a question regarding converting the river discharge data (m^3/s) to (kg/s/m^2). How can we create a forcing file like the below using the river discharge data from gauges in m^3/s?

double Runoff(runoff_time, eta_rho, xi_rho) ;
    Runoff:long_name = "Dai_Trenberth River Runoff" ;
    Runoff:missing_value = -1.e+30 ;
    Runoff:units = "kg/s/m^2" ;

I would be grateful for any suggestion regarding this.

kshedstrom commented 2 years ago

Clearly you need a density in kg/m^3. The other m^2 is the area of the face through which the water is flowing, depth times dx or dy. Double check whatever you come up with!