comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Land Mask data set available? (in lat and lon)
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Land Mask data set available? (in lat and lon) [message #29171] Thu, 07 February 2002 14:47 Go to next message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
"Robert Stockwell" <stockwell@co-ra.com> wrote in message
news:3C62F3C6.3090502@co-ra.com...
> ...
> I was just about to assimilate the land mask info
> into IDL, but for my purposes I need the land mask
> as a function of lat and lon (so as to branch my
> algorithm on whether or not a data point falls on land),
> rather then merely an image.
> ...
> I am about to use the land=sea mask data from:
> http://edcdaac.usgs.gov/1KM/land_sea_mask.html
> that i found snooping through google. It looks like
> I'll have to grab their image which appears to be in
> a km by km sampling, and calculate the inverse transform
> from their map projection into lat and lon (ugh).
> ...
> Does someone have that in IDL?
> (or rather, a data format that can be easily digested
> into IDL)

Thanks for the link to the land-sea mask data. I wasn't aware of that one. I
agree that it might be awkward inverting their map projection. There's been
some discussion on the group in the past about accessing IDL's built-in
projections. A Google search might turn up something useful.

I don't have a land-mask data set, but I do have a routine that calculates a
land mask (in fact a land fraction) for a specified grid using vector
shoreline data from the GSHHS data set:

http://www.ngdc.noaa.gov/mgg/shorelines/gshhs.html

Getting this working on your system would be non-trivial, but if you want to
try I'll be glad to help.

---
Mark Hadfield
m.hadfield@niwa.co.nz http://katipo.niwa.co.nz/~hadfield
National Institute for Water and Atmospheric Research
Re: Land Mask data set available? (in lat and lon) [message #29254 is a reply to message #29171] Fri, 08 February 2002 07:01 Go to previous messageGo to next message
Robert Stockwell is currently offline  Robert Stockwell
Messages: 74
Registered: October 2001
Member
Mark Hadfield wrote:

> "Robert Stockwell" <stockwell@co-ra.com> wrote in message
> news:3C62F3C6.3090502@co-ra.com...
>
>> ...
>> I was just about to assimilate the land mask info
>> into IDL, but for my purposes I need the land mask
>> as a function of lat and lon (so as to branch my
>> algorithm on whether or not a data point falls on land),
>> rather then merely an image.
>> ...
>> I am about to use the land=sea mask data from:
>> http://edcdaac.usgs.gov/1KM/land_sea_mask.html
>> that i found snooping through google. It looks like
>> I'll have to grab their image which appears to be in
>> a km by km sampling, and calculate the inverse transform
>> from their map projection into lat and lon (ugh).
>> ...
>> Does someone have that in IDL?
>> (or rather, a data format that can be easily digested
>> into IDL)
>>
>
> Thanks for the link to the land-sea mask data. I wasn't aware of that one. I
> agree that it might be awkward inverting their map projection. There's been
> some discussion on the group in the past about accessing IDL's built-in
> projections. A Google search might turn up something useful.
>
> I don't have a land-mask data set, but I do have a routine that calculates a
> land mask (in fact a land fraction) for a specified grid using vector
> shoreline data from the GSHHS data set:
>
> http://www.ngdc.noaa.gov/mgg/shorelines/gshhs.html
>
> Getting this working on your system would be non-trivial, but if you want to
> try I'll be glad to help.



Thanks for the info Mark. I took a look at the webpage, and it looks
promising. Is your routine in entirely in IDL, partly in IDL, or C.
(do you use the C code to read the data that they provide?)

Andrew Cool also suggested using GTOPO30 DEM data, with which he
produced a great looking jpg of a landmask. This seems to perhaps
be in a better form to extract the lat and lon data that I require
than the link I first mentioned (above), since they appear to be
in 30 arc second spacing,rather than in 1km spacing.

http://edcdaac.usgs.gov/gtopo30/gtopo30.html

So that actaully sounds pretty good. I'll still have to figure
out how to read the files, perhaps Andrew can help with that.



Cheers,
bob



> ---
> Mark Hadfield
> m.hadfield@niwa.co.nz http://katipo.niwa.co.nz/~hadfield
> National Institute for Water and Atmospheric Research
>
>
>
>
Re: Land Mask data set available? (in lat and lon) [message #29317 is a reply to message #29254] Sun, 10 February 2002 13:02 Go to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
"Robert Stockwell" <rgs1967@hotmail.com> wrote in message
news:3C63E83E.8000700@hotmail.com...
> Mark Hadfield wrote:
>
>> I don't have a land-mask data set, but I do have a routine that
>> calculates a land mask (in fact a land fraction) for a specified
>> grid using vector shoreline data from the GSHHS data set:
>>
>> http://www.ngdc.noaa.gov/mgg/shorelines/gshhs.html
>
>
> Thanks for the info Mark. I took a look at the webpage, and it looks
> promising. Is your routine in entirely in IDL, partly in IDL, or C.
> (do you use the C code to read the data that they provide?)

It appears that there are other datasets more suitable for your
purposes, but for the record my GSHHS routines are written entirely in
IDL.

--
---
Mark Hadfield
m.hadfield@niwa.co.nz http://katipo.niwa.co.nz/~hadfield
National Institute for Water and Atmospheric Research
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: prime factors (was Re: All day FFT....)
Next Topic: Re: Tessellate Question--fewest convex polys

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 11:43:15 PDT 2025

Total time taken to generate the page: 0.00603 seconds