Primary_CTD data: steps to make data accessible

The following is a listing of the steps that I took to make the 1995 broad scale hydrographic data accessible to the JGOFS server. The method used had already been developed by Jim Manning and Glenn Flierl.

"Broadscale.h1" This is the top level file that lists the 1995 broad scale cruises. The pound (#) sign is used for comments which I have used to indicate the difference between Seabird and MK5 data. The next four lines show what will be found in each successive level down (h2-->h3-->data). The character ">" indicates a pointer to another file.

"eb5fctdn.h2" The .h2 file provides some variable ranges for the particular cruise: event #, time(gmt), time(local), lon, lat, casts, and sample depth. The site is the broad scale station grid. The naming convention of this file ("eb5fctdn") is NOT a requirement to properly serve your data but is a leftover naming convention used to indicate ship (e), consecutive cruise within a year (b5=2nd cruise of 1995), and instrument (fctdn=fisheries CTD, Neil Brown). The structure of this file was developed based on the 1992 - 1994 Georges bank cruises where there were many types of "events": towyos, mooring deployments, fine scale grids, and other process oriented work. Because the intent of the broad scale surveys is to occupy the same station grid, we consider the cruise a single event. This is not the case for the process cruises.

"eg1b5.h3" The .h3 file provides a record for each cast: yearday (both gmt and local), cast, station #, standard station #, water depth, long, lat, and datafile name. Again, this naming convention is not a requirement. This file is generated by running "ENDCRUIS.EXE" which is a fortran routine that reads in the cruise header file to do the year day conversion (note: this method considers January 1st at noon to be local year day 1.5).

"en61d001.prs" The .PRS cast files contain pressure, temperature, salinity, and fluorescence. The 1996 data will also contain light transmission data. The seabird CTD's do not have fluorometers or transmissometers on them. The .PRS files were generated without a text header at the beginning of the file. However, the routine that reads in these files (NMFS.C) looks for an underline and then skips a line before reading in the data. To account for this, I ran a read/write routine that simply adds a two line record to the top of each .PRS file.

****************

The final step is to create a ".objects" file that provides a pointer to your data (your .h1 file) that Bob Groman can use to put your data online.

*******************

 "eb5fctdn.h2"

# GLOBEC CRUISES
# Georges Bank Broad scale survey EN261
# Note: the primary data for this cruise contains both MK5 and seabird data
 eventno gyd_range lyd_range lon_range lat_range ctd_range sd_range site comments >
       yrday_gmt yrday_local cast station station_std depth_w lon lat > 
         press,temp_ctd,sal_ctd,flvolt
en261.001  42.3333:50.6333 42.1667:50.4667 -65.982:-68.987 40.453:42.305 1:37 1:300 Broadscale primary en261/eg1b5.h3
     
                       *********************
     
 "eg1b5.h3"    
                             *****************


 "Broadscale.h1"

# GLOBEC Broadscale Cruises
# Note: Seabird ctd casts do not contain fluorescence data
# casts numbered > 100 are seabird casts
year ship cruiseid inst si >
 eventno gyd_range lyd_range lon_range lat_range ctd_range sd_range site comments >
    yrday_gmt yrday_local cast station station_std depth_w lon lat > 
    press,temp_ctd,sal_ctd,flvolt
1995 Endeavor   EN261  mkvctd dmountain    eb5fctdn.h2
1995 Endeavor   EN263  mkvctd dmountain    ed5fctdn.h2
1995 Endeavor   EN265  mkvctd dmountain    ef5fctdn.h2
1995 Albatross  AL9505 mkvctd dmountain    aa5fctdn.h2
1995 Albatross  AL9506 mkvctd dmountain    ab5fctdn.h2
1995 Albatross  AL9508 mkvctd dmountain    ac5fctdn.h2


     yrday_gmt yrday_local cast station station_std depth_w lon lat  > 
     press,temp_ctd,sal_ctd,flvolt
 42.3333  42.1667    1   1   1   78  -68.987   41.008 en261/en61d001.prs   
 42.5875  42.4208    2   2   2   68  -68.988   40.647 en261/en61d002.prs   
 42.8417  42.6750    3   3   3   94  -68.447   40.527 en261/en61d003.prs   
 43.3583  43.1917    4   4   4   53  -68.262   41.005 en261/en61d004.prs   
 43.7875  43.6208  105   5   5   63  -68.018   40.853 en261/en61d105.prs   
 44.0667  43.9000  106   6   6   81  -67.740   40.662 en261/en61d106.prs   
 44.2500  44.0833  107   7   7  200  -67.312   40.453 en261/en61d107.prs   
 44.5708  44.4042  108   8   8   90  -67.047   40.870 en261/en61d108.prs   
 44.6542  44.4875    5   9   9   78  -67.337   40.963 en261/en61d005.prs   
 44.8042  44.6375    6  10  10   52  -67.672   41.078 en261/en61d006.prs   
 44.9208  44.7542    7  11  11   49  -67.993   41.235 en261/en61d007.prs   
 45.0750  44.9083    8  12  12   42  -67.537   41.403 en261/en61d008.prs   
 45.2458  45.0792    9  13  13   55  -67.192   41.262 en261/en61d009.prs   
 45.4250  45.2583   10  14  14   71  -66.952   41.188 en261/en61d010.prs   
 45.5292  45.3625  116  15  15   79  -66.702   41.032 en261/en61d116.prs   
 45.7083  45.5417   11  16  16  300  -66.472   40.922 en261/en61d011.prs   
 46.1000  45.9333   12  17  17   97  -66.462   41.205 en261/en61d012.prs   
 46.2750  46.1083   13  18  18   83  -66.707   41.407 en261/en61d013.prs   
 46.5000  46.3333   14  19  19   63  -67.002   41.612 en261/en61d014.prs   
 46.7083  46.5417   15  20  20   77  -66.513   41.730 en261/en61d015.prs   
 46.9833  46.8167   16  21  21   91  -66.398   41.552 en261/en61d016.prs   
 47.1875  47.0208   17  22  22  123  -66.010   41.547 en261/en61d017.prs   
 47.5167  47.3500   18  23  23   87  -66.192   41.790 en261/en61d018.prs   
 48.0125  47.8458   19  24  24  169  -65.982   42.053 en261/en61d019.prs   
 48.2917  48.1250   20  25  26   86  -66.430   42.070 en261/en61d020.prs   
 48.4542  48.2875   21  26  27   75  -66.718   41.942 en261/en61d021.prs   
 48.6500  48.4833   22  27  28   67  -66.903   42.117 en261/en61d022.prs   
 48.8000  48.6333   23  28  29  300  -66.895   42.305 en261/en61d023.prs   
 49.1375  48.9708   24  29  30   57  -67.230   41.920 en261/en61d024.prs   
 49.3625  49.1958   25  30  31   97  -67.647   42.045 en261/en61d025.prs   
 49.5375  49.3708   26  31  32   32  -67.820   41.695 en261/en61d026.prs   
 49.6375  49.4708   27  32  33   62  -68.000   41.830 en261/en61d027.prs   
 49.8125  49.6458   28  33  34  215  -68.332   41.837 en261/en61d028.prs   
 50.0667  49.9000  147  34  35   71  -68.450   41.597 en261/en61d147.prs   
 50.2500  50.0833  148  35  36   56  -68.300   41.402 en261/en61d148.prs   
 50.4458  50.2792  150  36  37   65  -68.598   41.302 en261/en61d150.prs   
 50.6333  50.4667  151  37  38  155  -68.952   41.492 en261/en61d151.prs