Re: calculate distance offshore (from a coast)

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Thu Jul 25 2013 - 13:50:01 MDT

Hi Sam,

Sorry, NCL has no explicit "calculate distance offshore (from a coast)"
function.

The "gc_latlon" is the function to use.

D

On 7/24/13 11:05 AM, Sam McClatchie (NOAA Federal) wrote:
> Colleagues
>
> I there a convenient way to calculate the distance of a point from the
> coast in NCL, given a projection? I know the function gc_latlon will
> give me the great circle distance between two points, or two arrays. So
> I expect the answer is to extract the coordinates from the coastline,
> convert to a an array variable, and then use gc_latlon to calculate the
> distance between the specified locations array and the coastline array.
> Is this the way to proceed, or is there a distance from coast function,
> please?
>
> Best fishes
>
> Sam
>
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Jul 25 13:50:11 2013

This archive was generated by hypermail 2.1.8 : Thu Aug 01 2013 - 15:55:04 MDT