To use this program, follow these steps:
  1. Open an SPSS syntax window (or another text editor)
  2. COPY the program below and PASTE it into the editor window
  3. Edit the program so that the FILE= specification points to where the data file is stored on your system
  4. Save the modified program file and RUN it using SPSS
The program is below this line. If no program is listed, the URL to the EML document may be in error. If the EML file does not include all the information needed, the SPSS program will have errors or be incomplete.

Comment Package ID: knb-lter-vcr.47.5 Cataloging System:VCR.
Comment Data set title: Morphometry of Atlantic Barrier Islands, Lagoons and Marshes.
Comment  Data set creator: Dr. Bruce Hayden -  
Comment  Metadata Provider:    - Virginia Coast Reserve Long-Term Ecological Research Project 
Comment  Contact: Dr. Bruce Hayden -    - bph@virginia.edu
Comment  Contact:    - Information manager - Virginia Coast Reserve Long-Term Ecological Research Project   - jporter@lternet.edu
        
        
Title ' Morphometry of Atlantic Barrier Islands, Lagoons and Marshes' . 

Comment You should replace 'PUT-LOCAL-PATH-TO-DATA-FILE-HERE'  (below) with the appropriate path.   
Comment    to your data file (e.g., c:\mydata\datafile.txt).                 
GET DATA  /TYPE=TXT/
               / FILE="PUT-LOCAL-PATH-TO-DATA-FILE-HERE" 
                        /ARRANGEMENT=Delimited 
                              /DELIMITERS=","  
                                    /QUALIFIER='"' 
                    /VARIABLES= 
                    NAME  A  LENGTH  F  LAGOON_AREA  F  MARSH_PERCENT  F  COMPLEXITY  F  MEAN_DIST  F  MAX_DIST  F  MIN_DIST  F  MAX_DEPTH  F  FRINGE  F10.2 SCATTTERED  F10.2 CONTINUOUS  F10.2 NORTH_END  F  SOUTH_END  F  Area_Marsh_land  F  TOTAL_AREA  F  MARSH_LAND_PERCENT  F  NUM_MARGINS  F10.2 .
execute.                
                

                
VAR LABELS   NAME 'Name of the barrier island reach- ' .
VAR LABELS   LENGTH 'Length of the barrier island- km' .
VAR LABELS   LAGOON_AREA 'Lagoon area behind island- km^2' .
VAR LABELS   MARSH_PERCENT '% of lagoon surface in marsh- %' .
VAR LABELS   COMPLEXITY 'Marsh complexity- none' .
VAR LABELS   MEAN_DIST 'Mean distance from barrier island to mainland
- km' .
VAR LABELS   MAX_DIST 'Maximum distance from barrier island to mainland- km' .
VAR LABELS   MIN_DIST 'Minimum distance from barrier island to mainland- km' .
VAR LABELS   MAX_DEPTH 'Maximu water depth of the lagoon- m' .
VAR LABELS   FRINGE 'Presence of fringe marsh- ' .
VAR LABELS   SCATTTERED 'Presence of scattered marsh in lagoon- ' .
VAR LABELS   CONTINUOUS 'Presence of continuous marsh from island to mainland1- ' .
VAR LABELS   NORTH_END 'Coordinate for North end of island- km' .
VAR LABELS   SOUTH_END 'Coordinate for South end of island- km' .
VAR LABELS   Area_Marsh_land 'Area of marsh and land in lagoon- km^2' .
VAR LABELS   TOTAL_AREA 'Total area behind barrier island- km^2' .
VAR LABELS   MARSH_LAND_PERCENT '% of marsh + land in lagoon- %' .
VAR LABELS   NUM_MARGINS '# of land-water margins crossed
- none' .
VALUE LABELS   FRINGE 
                                  '0'  'does not occur'  
                                  '1'  'did occur'  .
VALUE LABELS   SCATTTERED 
                                  '0'  'did not occur'  
                                  '1'  'did occur'  .
VALUE LABELS   CONTINUOUS 
                                  '0'  'did not occur'  
                                  '1'  'did occur'  .
                
                
comment The analyses below are basic descriptions of the variables. After testing, they should be replaced.                 
        
                 
Frequencies   variables=NAME /order=analysis.  
Frequencies   variables=FRINGE /order=analysis.  
Frequencies   variables=SCATTTERED /order=analysis.  
Frequencies   variables=CONTINUOUS /order=analysis.  
Descriptives   variables=LENGTH .  
Descriptives   variables=LAGOON_AREA .  
Descriptives   variables=MARSH_PERCENT .  
Descriptives   variables=COMPLEXITY .  
Descriptives   variables=MEAN_DIST .  
Descriptives   variables=MAX_DIST .  
Descriptives   variables=MIN_DIST .  
Descriptives   variables=MAX_DEPTH .  
Descriptives   variables=NORTH_END .  
Descriptives   variables=SOUTH_END .  
Descriptives   variables=Area_Marsh_land .  
Descriptives   variables=TOTAL_AREA .  
Descriptives   variables=MARSH_LAND_PERCENT .  
Descriptives   variables=NUM_MARGINS . 
Execute. 
                
                  
COMMENT List cases where data is out of range.  
COMMENT Note: if no out of range cases are detected, the variable names will be listed, but no actual cases.  
TEMPORARY .               
STRING BADVARS (A255).
SELECT IF (BADVARS NE ""). 
LIST VARIABLES=ALL.
Execute.