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 Post by duckweed » 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!

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

Re: The problem about matlab package and seagrid package

#2 Post by subbareddy » Tue Aug 11, 2009 4:25 am

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 Post by hodamahyar » Thu Apr 13, 2017 11:07 am

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 Post by hodamahyar » Thu Apr 13, 2017 11:12 am

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

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

Re: The problem about matlab package and seagrid package

#5 Post by kate » Thu Apr 13, 2017 11:30 am

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 Post by hodamahyar » Thu Apr 13, 2017 12:13 pm

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

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

Re: The problem about matlab package and seagrid package

#7 Post by rduran » Fri Apr 14, 2017 5:06 am

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

Post Reply