rivers time variable

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
adevis
Posts: 2
Joined: Thu Feb 09, 2012 5:53 pm
Location: Universidad Nacional de Colombia

rivers time variable

#1 Unread post by adevis »

hello.
I am running climatology case with rivers, but I can only put one value for the Qbar
(i.e. psource: Nsrc Isrc Jsrc Dsrc Qbar [m3/s] Lsrc Tsrc)

I would like to include the climatological river time serie.
Next step is running time variable with rivers and I will have the same problem.

Can some one please explain to me how to include this in a REGIONAL case?

Thanks

User avatar
kate
Posts: 4088
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: rivers time variable

#2 Unread post by kate »

The easiest way to make things variable is to create a river forcing netcdf file. See Data/ROMS/CDL/frc_rivers.cdl for what an "ncdump -h" should look like. There should be an UNLIMITED river_time dimension.

adevis
Posts: 2
Joined: Thu Feb 09, 2012 5:53 pm
Location: Universidad Nacional de Colombia

Re: rivers time variable

#3 Unread post by adevis »

ok, I understand I should have a river data netcdf archive. But were to define this, and how to call this dataset? Which files I have to modify?
Thanks again

User avatar
kate
Posts: 4088
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: rivers time variable

#4 Unread post by kate »

You will need to define UV_PSOURCE, TS_PSOURCE, whatever it is you want.

You need to not define ANA_PSOURCE.

You do know where the #defines happen?

You need to find a way that *you* like to create and modify NetCDF files, be that Matlab, Python, NCL, ncgen, whatever. Create a rivers forcing file with the required dimensions, variables, data. This file will have a name, which gets added to your list of FRCNAME in your ocean.in.

Post Reply