Hi, If you have a list of coordinates for the boundary of the country, you can use the PT_IN_POLY function to define a mask which is 1 inside the boundary : yes? show function pt_in_polyThere's a script example in the documentation, in this section: http://ferret.pmel.noaa.gov/Ferret/documentation/users-guide/appendix-a-external-functions/pt_in_poly That example defines a polygon out in the ocean; your xp,yp coordinates would be the national borders. Ansley On 5/2/2016 9:41 PM, afikode adeolu
wrote:
|