Ocean Modeling Discussion

ROMS/TOMS

Search for:
It is currently Mon Jul 22, 2019 2:17 pm




Post new topic Reply to topic  [ 7 posts ] 

All times are UTC

Author Message
PostPosted: Mon Aug 10, 2009 1:35 pm 
Hi,
i have some question about matlab package and seagrid package,as follows:
1) how to use the matlab package? And,what is the use of matlab package?
2) how to create a bathmetry file?
3) when i have a seagrid file, how to conversion it to netcdf format? by roms_cdl? how to do? please reply detailed

thanks a lot!


Top
  
Reply with quote  
PostPosted: Tue Aug 11, 2009 4:25 am 
Offline

Joined: Mon May 11, 2009 3:52 pm
Posts: 6
Location: IIT Kharagpur
hi
just you do these things
i have used seagrid matlab program in windows
you download the seagrid matlab software and put it in matlab path.
you must add the mexcdf tools for your suitable matlab version
for extracting coastline data for your region, go through this path
https://www.myroms.org/wiki/index.php/seagrid
for getting bathymetry data, go through this path
http://www.ngdc.noaa.gov/mgg/gdas/gd_designagrid.html
after getting the data, you load data in matlab by using the commands
load filename
for coast line
lat=filename(:,1)
lon=filename(:,2)
save filename lat lon (you put whatever your interest file name for saving)
it create the coastline.mat file
it is the coast line input data for seagrid
for bathymetry
xbathy=filename(:,1)
ybathy=filename(:,2)
zbathy=filename(:,3)
save filename xbathy ybathy zbathy (you put whatever your interest filename for saving)
it creates the bathy.mat file
it is the bathymetry input data for seagrid
next you follow the seagrid tutorial
save seagrid
next onecommand is there it is
seagrid2roms
it will generate roms input gridfile in the nc format
ok bye
have a nice day


Top
 Profile  
Reply with quote  
PostPosted: Thu Apr 13, 2017 11:07 am 
Offline

Joined: Wed Jan 11, 2017 3:25 pm
Posts: 16
Location: k.n.toosi University of Technology
hello. i download seagrid but it is not a software to install. it is just a folder that there are alot of .m file in it. i am Amateur in seagrid and matlab. please explain me how should start with seagrid? the beginnig step?
i just install matlab R2009a. what should i do next?


Top
 Profile  
Reply with quote  
PostPosted: Thu Apr 13, 2017 11:12 am 
Offline

Joined: Wed Jan 11, 2017 3:25 pm
Posts: 16
Location: k.n.toosi University of Technology
this is everything that i download for seagrid. is it true and enogh? but there is not any application in it to install.


Attachments:
seagrid-master.zip [2.4 MiB]
Downloaded 82 times
Top
 Profile  
Reply with quote  
PostPosted: Thu Apr 13, 2017 11:30 am 
Offline
User avatar

Joined: Wed Jul 02, 2003 5:29 pm
Posts: 3633
Location: IMS/UAF, USA
Please don't double post like this. If we're going to answer, we'll answer the first. I'm not going to answer this because I don't use Matlab.


Top
 Profile  
Reply with quote  
PostPosted: Thu Apr 13, 2017 12:13 pm 
Offline

Joined: Wed Jan 11, 2017 3:25 pm
Posts: 16
Location: k.n.toosi University of Technology
ok kate.so tell me how can i download seagrid?


Top
 Profile  
Reply with quote  
PostPosted: Fri Apr 14, 2017 5:06 am 
Offline

Joined: Fri Jan 08, 2010 7:22 pm
Posts: 139
Location: Theiss Research
There are other places where to learn matlab, and that is probably a good place to start.


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 1 guest


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