Re: map_set coastline data [message #33482] |
Wed, 08 January 2003 11:07 |
paul wisehart
Messages: 28 Registered: December 2002
|
Junior Member |
|
|
> You can see how IDL opens these files by looking at
> MAP_CONTINENTS. I'm afraid the files are binary files,
> though. :-(
I hacked into map_continents.pro , and redirected the plots
to *my* ascii file. It looks good so far.
(I haven't tried to do anything w/it yet)
I used the low-res file for now, and it has ~8500 lat-lon points.
Here's what it looks like:
... ...
... ...
... ...
173.170 -35.3300
173.500 -35.6700
173.830 -36.0800
174.170 -36.5000
174.420 -36.9200
174.920 -37.0000
174.670 -37.2500
174.830 -37.5800
174.920 -38.0000
174.670 -38.4200
174.580 -38.9200
174.080 -39.0800
173.750 -39.3300
166.500 -45.9200
166.750 -46.1700
167.250 -46.2500
167.580 -46.1700
167.830 -46.4200
168.330 -46.5000
169.000 -46.6700
169.670 -46.5000
170.170 -46.2500
... ...
... ...
... ...
Thanks for the idea!
--
paul wisehart
wisehart <at> runbox <dot> com
|
|
|
Re: map_set coastline data [message #33484 is a reply to message #33482] |
Wed, 08 January 2003 10:09  |
Rick Towler
Messages: 821 Registered: August 1998
|
Senior Member |
|
|
"paul wisehart" <wisehart@runbox.com> wrote
> Hi,
>
> How do I get at the data that map_set uses
> to plot coastline/continents?
>
> I can find the actual files on my machine, I
> just don't know how to open them.i
>
> in the directory:
> /usr/local/rsi/idl/resource/maps/low
> there are files:
> clow.dat clow.ndx ... etc.
>
> can I open them using some flags to the
> openr command?
>
> I don't care about formatting as long as
> I can get an ascii representation of the
> data.
Maybe you should look into other data sources. Maybe this would be a start:
http://www.ngdc.noaa.gov/mgg/shorelines/noaamrdvs.html
-Rick
|
|
|
Re: map_set coastline data [message #33488 is a reply to message #33484] |
Wed, 08 January 2003 09:14  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
paul wisehart (wisehart@runbox.com) writes:
> How do I get at the data that map_set uses
> to plot coastline/continents?
>
> I can find the actual files on my machine, I
> just don't know how to open them.i
>
> in the directory:
> /usr/local/rsi/idl/resource/maps/low
> there are files:
> clow.dat clow.ndx ... etc.
>
> can I open them using some flags to the
> openr command?
>
> I don't care about formatting as long as
> I can get an ascii representation of the
> data.
You can see how IDL opens these files by looking at
MAP_CONTINENTS. I'm afraid the files are binary files,
though. :-(
Cheers,
David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|