Hi Ghansham, and all, After a couple of messages off -line, I'd like to show some things that we can do with point data such as this, if we're interested in vectors. I've attached the files that the script makes. The dataset has lists of locations, times and variables. It's a feature_type = "point" dataset in the Discrete Geometries definitions of the CF standard. http://cf-pcmdi.llnl.gov/documents/cf-conventions/1.6/cf-conventions.html#appendix-examples-discrete-geometries
yes? show data currently SET data sets: 1> ./sample.h5 (default) name title I J K L M N LATITUDE latitude 1:7170 ... ... ... ... ... LONGITUDE longitude 1:7170 ... ... ... ... ... MEAN_BT Average Brightness Temperature 1:7170 ... ... ... ... ... MIN_BT Minimum Brightness Temperature 1:7170 ... ... ... ... ... OBSERVATION_TIME Time of Observation 1:7170 ... ... ... ... ... PIXELS Corresponding Image Pixel 1:7170 ... ... ... ... ... PRESSURE Pressure 1:7170 ... ... ... ... ... QUALITY_INDICATOR Wind Retrieval Quality Indicato 1:7170 ... ... ... ... ... SCANS Corresponding Image Scan 1:7170 ... ... ... ... ... UCOMP U Component of Wind Speed 1:7170 ... ... ... ... ... VCOMP V Component of Wind Speed 1:7170 ... ... ... ... ... WIND_DIRECTION Wind Direction 1:7170 ... ... ... ... ... WIND_SPEED Wind Speed 1:7170 ... ... ... ... ... ! Get an idea of the data locations with a PLOT/VS command. ! The RIBBON plot lets us color the locations by any variable. yes? plot/vs/ribbon/symbol=23/palette=rainbow longitude, latitude, wind_speed! Make a vector plot, using the filled-polygon method. That's explained here, ! http://ferret.pmel.noaa.gov/static/Demos/polygon_vector_arrows/poly_vec_demo.html ! First draw a land underlay, using the lon/lat region from the ribbon plot above, yes? go basemap x=0:155 y=-72:68 20! Set up for a polygon arrow plot. The script writes the lines starting with *** yes? go poly_vectors longitude, latitude, ucomp, vcomp, 50 "arrow"! Draw the arrow plot, coloring it by wind speed. The color-by variable needs to be on the Y axis. ! Also add a label. yes? POLYGON/OVER/NOLABEL/KEY/NOAXES/LINE/pal=rainbow PLT_X_ARROW, PLT_Y_ARROW, ysequence(wind_speed)! Now try the other style of polygon vector plots, "stick" vectors. ! We'll color these by another variable. yes? go poly_vectors longitude, latitude, ucomp, vcomp, 50 "stick" On 10/28/2013 11:04 AM, Ansley Manke
wrote:
Hi Ghansham, |
Attachment:
points.gif
Description: GIF image
Attachment:
arrows.gif
Description: GIF image
Attachment:
sticks.gif
Description: GIF image