The problem about matlab package and seagrid package

Discussion about analysis, visualization, and collaboration tools and techniques

Moderators: arango, robertson

Post Reply
Message
Author
duckweed

The problem about matlab package and seagrid package

#1 Unread post by duckweed »

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!

subbareddy
Posts: 6
Joined: Mon May 11, 2009 3:52 pm
Location: IIT Kharagpur

Re: The problem about matlab package and seagrid package

#2 Unread post by subbareddy »

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

hodamahyar
Posts: 16
Joined: Wed Jan 11, 2017 3:25 pm
Location: k.n.toosi University of Technology

Re: The problem about matlab package and seagrid package

#3 Unread post by hodamahyar »

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?

hodamahyar
Posts: 16
Joined: Wed Jan 11, 2017 3:25 pm
Location: k.n.toosi University of Technology

Re: The problem about matlab package and seagrid package

#4 Unread post by hodamahyar »

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 274 times

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

Re: The problem about matlab package and seagrid package

#5 Unread post by kate »

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.

hodamahyar
Posts: 16
Joined: Wed Jan 11, 2017 3:25 pm
Location: k.n.toosi University of Technology

Re: The problem about matlab package and seagrid package

#6 Unread post by hodamahyar »

ok kate.so tell me how can i download seagrid?

rduran
Posts: 152
Joined: Fri Jan 08, 2010 7:22 pm
Location: Theiss Research

Re: The problem about matlab package and seagrid package

#7 Unread post by rduran »

There are other places where to learn matlab, and that is probably a good place to start.

Post Reply