Click here to see the SAS code. 
Click here to see the example.

This example is similar to ../democd5/dive_nc.htm but in this one I add
the ocean floor depth contour data as annotated shades of blue, using the
same annotate techniques as I used in ../democd13/bay.htm.
You can go back and read their detailed descriptions if you want 
to know exactly how the code works :)

Three versions:
../democd5/dive_nc.htm
../democd26/nc_scuba.htm
../ods14/scuba_diving_locations_in_nc.htm

-----

Here's how I got the ocean-floor data ...
(this might not be exact, but something close)


   http://www.ngdc.noaa.gov/mgg/gdas/gd_designagrid.html
   Your Grid Id: bobsas1
   Grid Database: ETOPO2 - 2-minute global relief
   x - Windows
   Lat/Lon (left defaults - lat(up/down) = 36.5N-33N , lon (across)=79W-75W
   Cell size - 2-minute  (then it switched to 3-minute)
   Cell params - default (2-byte integers, whole meters precision)
   Format: XYZ (lon,dat,depth), No Header, Space delimited, omit empty grid cells

   Clicked 'Design-A-Grid' button.
   Clicked 'Next-->' button
   Clicked 'Compress and Retrieve' button
   Clicked 'Retrieve' button
   Clicked 'save'
   Saved bobsas1_5772.zip to my U:
   Then, after saving it, I unzipped it, which created a directory structure...
   There's a lot of 'junk', but the file I wanted was ...

      /u/realliso/bobsas1_data/bobsas1/bobsas1_5772.xyz

-----

Back to Samples Index