finding nearest point and 4 nearest points

From: Dorita Rostkier-Edelstein <drostkier_at_nyahnyahspammersnyahnyah>
Date: Thu May 03 2012 - 06:36:08 MDT

Hi folks, Does anyone have a script to find the closest and the 4 closest points to a given lat/lon, the nc file has the WRF XLAT, XLONG (pasted below). Thanks. Dorita netcdf wrf_static { dimensions:     Time = UNLIMITED ; // (1 currently)     south_north = 171 ;     west_east = 96 ; variables:     float HGT(Time, south_north, west_east) ;         HGT:FieldType = 104 ;         HGT:MemoryOrder = "XY " ;         HGT:description = "Terrain Height" ;         HGT:units = "m" ;         HGT:stagger = "" ;         HGT:coordinates = "XLONG XLAT" ;     float XLAND(Time, south_north, west_east) ;         XLAND:FieldType = 104 ;         XLAND:MemoryOrder = "XY " ;         XLAND:description = "LAND MASK (1 FOR LAND, 2 FOR WATER)" ;         XLAND:units = "" ;         XLAND:stagger = "" ;         XLAND:coordinates = "XLONG XLAT" ;     float XLAT(Time, south_north, west_east) ;         XLAT:FieldType = 104 ;         XLAT:MemoryOrder = "XY " ;         XLAT:description = "LATITUDE, SOUTH IS NEGATIVE" ;         XLAT:units = "degree_north" ;         XLAT:stagger = "" ;     float XLONG(Time, south_north, west_east) ;         XLONG:FieldType = 104 ;         XLONG:MemoryOrder = "XY " ;         XLONG:description = "LONGITUDE, WEST IS NEGATIVE" ;         XLONG:units = "degree_east" ;         XLONG:stagger = "" ;

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu May 3 06:37:23 2012

This archive was generated by hypermail 2.1.8 : Thu May 03 2012 - 09:27:53 MDT