Ocean Modeling Discussion

ROMS/TOMS

Search for:
It is currently Fri Nov 24, 2017 1:55 am




Post new topic Reply to topic  [ 7 posts ] 

All times are UTC

Author Message
PostPosted: Thu Apr 13, 2017 4:17 pm 
Offline
User avatar

Joined: Wed Apr 06, 2016 4:36 pm
Posts: 11
Location: University of Liege
Hello, everyone!

For my nesting simulations, I made a forcing files for both, the parent and the child grids.
However, I noticed, that ROMS, instead of reading and processing the child forcing file, interpolates data from the parent forcing file into the child grid.

What could be the reason?

Here is a line from my .in file. And also I attach two headers from both netcdf forcing files (unfortunately, I haven't found an option here to post them directly on the forum in spoilers).

Quote:
NFFILES == 1 1 ! number of unique forcing files

FRCNAME == /media/sf_Swap-between-windows-linux/New_Grid/Interannual_simulation/Forcing.nc \
/home/eivanov/coawst_data_prrocessing/GRID_RECTANGULAR/Meteo/Forcing_nested_2.nc


Thanks in advance!


Attachments:
File comment: Forcing header for the nested grid
Forsing_nested.txt [9.57 KiB]
Downloaded 21 times
File comment: Forcing header for the parent grid
Forcing_parent.txt [8.74 KiB]
Downloaded 19 times

_________________
Evgeny Ivanov

PhD Fellow,
MAST, University of Liege, Belgium
Top
 Profile  
Reply with quote  
PostPosted: Thu Apr 13, 2017 5:34 pm 
Offline

Joined: Wed Dec 31, 2003 6:16 pm
Posts: 667
Location: USGS, USA
how do you know that "[the model] interpolates data from the parent forcing file into the child grid."?
I would need to see the std out text to see what is happening.

-john


Top
 Profile  
Reply with quote  
PostPosted: Fri Apr 14, 2017 10:17 am 
Offline
User avatar

Joined: Wed Apr 06, 2016 4:36 pm
Posts: 11
Location: University of Liege
Thanks, John,

I can assume this, on the basis of netcdf pictures. For example, short-wave radiation, the variable I have to define.
On the left hand-side - how it does look in the Forcing file. On the right hand-side - how it does look at the history outputs.

_________________
Evgeny Ivanov

PhD Fellow,
MAST, University of Liege, Belgium


Top
 Profile  
Reply with quote  
PostPosted: Sat Apr 15, 2017 1:37 pm 
Offline
User avatar

Joined: Mon Apr 28, 2003 5:44 pm
Posts: 421
Location: Rutgers University
To the best of my knowledge we did not code any option to interpolate forcing data of the parent grid onto the child grid other than by explicitly repeating the name(s) of the parent forcing file(s) in the FRCNAME input.

Look closely at your stdout (the "log file") because it reports all the forcing file reads for both grids. There will be lines like:

Quote:
GET_2DFLD - surface u-wind component, t = 2922 06:00:00
(Rec=0000003, Index=1, File: Uwind_nam_3hourly_MAB_and_GoM_2014.nc)
(Tmin= 2922.0000 Tmax= 3287.0000)
(Min = -1.63235843E+00 Max = 1.77264092E+01)


If you don't see your file Forcing_nested_2.nc reported in the File: tag then you are correct that it was not read.

This experience suggests that for added clarity we should have stdout explicitly report which Grid it is processing when making those GET_2DFLD calls, and whether or not it is invoking the regrid option.

_________________
John Wilkin: IMCS Rutgers University
71 Dudley Rd, New Brunswick, NJ 08901-8521, USA. ph: 609-630-0559 jwilkin@rutgers.edu


Top
 Profile  
Reply with quote  
PostPosted: Mon Apr 17, 2017 9:34 am 
Offline
User avatar

Joined: Wed Apr 06, 2016 4:36 pm
Posts: 11
Location: University of Liege
Thank you, wilkin

Yes, I confirm, that the Forcing file for the parent grid is being read twice: for the parent and for the child grids.

But how can I make ROMS reading the Forcing file for the child grid?

Quote:
This experience suggests that for added clarity we should have stdout explicitly report which Grid it is processing when making those GET_2DFLD calls, and whether or not it is invoking the regrid option.

So I have to make corrections into the Nesting subroutine to make it reading both of my Forcing files? Or there is another option that will allow ROMS to do it automatically?

_________________
Evgeny Ivanov

PhD Fellow,
MAST, University of Liege, Belgium


Top
 Profile  
Reply with quote  
PostPosted: Mon Apr 17, 2017 11:59 am 
Offline

Joined: Wed Dec 31, 2003 6:16 pm
Posts: 667
Location: USGS, USA
not sure where you are getting the forcing data from, but when you made the forcing files, did you interpolate the raw data to the grid resolutions? If you keep the raw data at the same resolution it came from, then the model will interpolate to the parent and child resolutions. Can you just make a forcing file with the resolution of the raw data and just use that for both parent and child?


Top
 Profile  
Reply with quote  
PostPosted: Mon Apr 17, 2017 1:05 pm 
Offline
User avatar

Joined: Mon Apr 28, 2003 5:44 pm
Posts: 421
Location: Rutgers University
The stdout ("log file") reports a list of Output/Input Files: for each grid, e.g.

Quote:

Physical Parameters, Grid: 02
=============================

all the other parameters, then ...

Output/Input Files:

Output Restart File: r11/pioneer_rst.nc
Prefix for History Files: r11/pioneer_his
Prefix for Averages Files: r11/pioneer_avg
Output Stations File: r11/pioneer_sta.nc
Input Grid File: /home/om/roms/doppio/pioneer/grid_pioneer_v3.nc
Nesting grid connectivity File: /home/om/roms/doppio/pioneer/contactfile_doppio_pioneer_array_v3.nc
Input Nonlinear Initial File: /home/om/roms/doppio/pioneer/ini_pioneer_20140101_atmpress_NAVD88_v3bathy.nc
Input Sources/Sinks File: /home/om/roms/doppio/pioneer/pioneer_rivers_2007-2015.nc
Input Forcing File 01: /home/om/roms/doppio/frc/nam/lwrad_down_nam_3hourly_MAB_and_GoM_2014.nc
/home/om/roms/doppio/frc/nam/lwrad_down_nam_3hourly_MAB_and_GoM_2015.nc
Input Forcing File 02: /home/om/roms/doppio/frc/nam/Pair_nam_3hourly_MAB_and_GoM_2014.nc
/home/om/roms/doppio/frc/nam/Pair_nam_3hourly_MAB_and_GoM_2015.nc


Does the list for your Grid 02 (i.e. the child) show the parent forcing files (or any other parent files) when the ocean.in file lists the correct child grid forcing files? This inconsistency is inexplicable to me. If you have the wrong syntax in your ocean.in file for FRCNAME it's possible (but unlikely) that ROMS assumes the parent files for all child grids.

We might need to see your logfile to deduce the problem. I always say that more than 90% of the time the answer is in the logfile if you just read it carefully enough.

_________________
John Wilkin: IMCS Rutgers University
71 Dudley Rd, New Brunswick, NJ 08901-8521, USA. ph: 609-630-0559 jwilkin@rutgers.edu


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group