Question about coarse2fine

Discussion of how to use ROMS on different regional and basin scale applications.

Moderators: arango, robertson

Post Reply
Message
Author
nmichelet
Posts: 31
Joined: Fri Oct 02, 2015 2:24 pm
Location: Cerema

Question about coarse2fine

#1 Post by nmichelet » Mon Dec 21, 2015 3:28 pm

Hello everyone,
I have several questions about coarse2fine, the grid refinement routine. Concerning the bathymetry how does it interpolate from the coarse one to the fine grid?
I also have a pretty good resolution on my bathymetry and I would like my grids to interpolate directly from it and not from the coarse grid, is it possible?
Thanks

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

Re: Question about coarse2fine

#2 Post by kate » Tue Dec 22, 2015 4:39 am

Coarse2fine is going to give you a coarse bathymetry and land mask. You'll have to edit it afterwards to get what you want. You might try some blending of the two bathymetries right at the boundary if it gives you grief there at run time. Check the Mason et al. reference for the Shchepetkin BC for some insight into what they do.

nmichelet
Posts: 31
Joined: Fri Oct 02, 2015 2:24 pm
Location: Cerema

Re: Question about coarse2fine

#3 Post by nmichelet » Tue Dec 22, 2015 9:03 am

Thank you Kate I will take a look at that

johan.navarro.padron
Posts: 7
Joined: Mon Dec 05, 2011 3:29 pm
Location: Instituto de oceanolodia(IDO)

Re: Question about coarse2fine

#4 Post by johan.navarro.padron » Mon Apr 24, 2017 6:06 pm

Hello everyone.
I'm new to coarse2fine and i have a problem in get_roms_grid.m with nc_inq() function.
I don't have that function.
Is this function part of mexcdf tools? In that case, in wish version of mexcdf is available?
Thanks in advance

User avatar
wilkin
Posts: 510
Joined: Mon Apr 28, 2003 5:44 pm
Location: Rutgers University
Contact:

Re: Question about coarse2fine

#5 Post by wilkin » Tue Apr 25, 2017 6:51 am

nc_inq.m is in the myroms Matlab tools in the subdirectory netcdf which is at the same level in the Matlab hierarchy at the subdirectory grid where you have coarse2fine.m. You can download with a similar svn command to what you used to get grid/coarse2fine.m etc.

None of the nesting Matlab tools need mexcdf anymore. We have gone over to using the native Matlab netcdf functions.
John Wilkin: DMCS Rutgers University
71 Dudley Rd, New Brunswick, NJ 08901-8521, USA. ph: 609-630-0559 jwilkin@rutgers.edu

Post Reply