seagrid...
-
- Posts: 135
- Joined: Mon Jun 22, 2009 3:46 pm
- Location: Indian Institute of Tropical Meteorology, Pune, INDIA
seagrid...
please see the attached doc file with figure.......
mahesh
------------------------------------------------------------------------
x=axis;
>> lon_range=ax(1:2),
lon_range =
-20 50
>> lat_range=ax(3:4);
>> lon_range=ax(1:2);
>> lat_range=ax(3:4);
>> lon_range=ax(1:2);
>> lat_range=ax(3:4);
%reading the bathymetry......
>> [xbathy,ybathy,zbathy]=read_srtm30plus(lon_range,lat_range);
ans =
Maximum image width 4096 exceeded. Please try again.
why this happning.......
please tell the solution
mahesh
------------------------------------------------------------------------
x=axis;
>> lon_range=ax(1:2),
lon_range =
-20 50
>> lat_range=ax(3:4);
>> lon_range=ax(1:2);
>> lat_range=ax(3:4);
>> lon_range=ax(1:2);
>> lat_range=ax(3:4);
%reading the bathymetry......
>> [xbathy,ybathy,zbathy]=read_srtm30plus(lon_range,lat_range);
ans =
Maximum image width 4096 exceeded. Please try again.
why this happning.......
please tell the solution
Re: seagrid...
Hello,
First thing, i need to tell you that i'm not a professional, but i sort out how to pass that problem..
You get the coastline, bur you need the one without borders, i mean (1:2000000 or so) then change the name to get rid of .dat, then:
load coastNAME
plot (coast(:,1),coast(:,2));
fillseg (coast);
coast_new=join_cst(coast,.005)
fillseg (coast_new)
if you don't like it change the value in green... not too much you will see....
after that insert a couple of values on the right positions, trial and error.... i mean look for the first second third... NaN and add one line using values that give you one land/water difference that you like....
tomorrow I will attach the files...
good luck: R
First thing, i need to tell you that i'm not a professional, but i sort out how to pass that problem..
You get the coastline, bur you need the one without borders, i mean (1:2000000 or so) then change the name to get rid of .dat, then:
load coastNAME
plot (coast(:,1),coast(:,2));
fillseg (coast);
coast_new=join_cst(coast,.005)
fillseg (coast_new)
if you don't like it change the value in green... not too much you will see....
after that insert a couple of values on the right positions, trial and error.... i mean look for the first second third... NaN and add one line using values that give you one land/water difference that you like....
tomorrow I will attach the files...
good luck: R
-
- Posts: 135
- Joined: Mon Jun 22, 2009 3:46 pm
- Location: Indian Institute of Tropical Meteorology, Pune, INDIA
Re: seagrid...
hello dear perezro,
i did as your suggestions but it won't work fine. where i have to add the points...
mahesh
i did as your suggestions but it won't work fine. where i have to add the points...
mahesh
Re: seagrid...
Hello!
Could you attach you coastline data so i work with it and then I can tell you exatly in which line you need to add the new points??
Ciaociao: R
Could you attach you coastline data so i work with it and then I can tell you exatly in which line you need to add the new points??
Ciaociao: R
-
- Posts: 135
- Joined: Mon Jun 22, 2009 3:46 pm
- Location: Indian Institute of Tropical Meteorology, Pune, INDIA
Re: seagrid...
Dear perezro,
i did as you reply me...here i am sending you figure...please check the arrows...
please see the figure.....
i did as you reply me...here i am sending you figure...please check the arrows...
please see the figure.....
- Attachments
-
- medi.doc
- (44.5 KiB) Downloaded 267 times
-
- Posts: 135
- Joined: Mon Jun 22, 2009 3:46 pm
- Location: Indian Institute of Tropical Meteorology, Pune, INDIA
Re: seagrid...
ok here is my coastline data file.....
- Attachments
-
- medi3.txt
- (3.2 MiB) Downloaded 267 times
Re: seagrid...
I know about the arrows... it happen to me yesterday...but without the exact coordinates that you use for the coast (do u use coastline extractor, don't you??) i can not tell you where to exactly insert the numbers...
if you attach the file `coastline extractor` give you in matlab format, would be better so i tell you directly where to look......
ciao:R
if you attach the file `coastline extractor` give you in matlab format, would be better so i tell you directly where to look......
ciao:R
Re: seagrid...
Y try to do your example... you can download it and see that if you add two lines in the variable coast_new, one in line 43887 lat 39 lon 28 and other at line 61925 lat 32 lon 27.5 you can manage to get the disturbing lines out the middle part of your nice-coastline-draw...
hope it help: R
hope it help: R
- Attachments
-
- seagrid_coast.zip
- (2.08 MiB) Downloaded 256 times
-
- Posts: 135
- Joined: Mon Jun 22, 2009 3:46 pm
- Location: Indian Institute of Tropical Meteorology, Pune, INDIA
Re: seagrid...
Dear perezro,
ok.....i have other question...
i want to make a grid of 1/16 deg x 1/16 deg having 70 levels ......so how to make it.....
-mahesh
ok.....i have other question...
i want to make a grid of 1/16 deg x 1/16 deg having 70 levels ......so how to make it.....
-mahesh
-
- Posts: 135
- Joined: Mon Jun 22, 2009 3:46 pm
- Location: Indian Institute of Tropical Meteorology, Pune, INDIA
Re: seagrid...
Dear perezro,
here is my coastline extractor file in mat fomrat
mahesh
here is my coastline extractor file in mat fomrat
mahesh
- Attachments
-
- mediblacksea.mat.zip
- (2.24 MiB) Downloaded 242 times