Online Links:
Online Links:
| Range of values | |
|---|---|
| Minimum: | 0 |
| Maximum: | 0 |
| Units: | unitless |
| Range of values | |
|---|---|
| Minimum: | 1 |
| Maximum: | 9 |
| Units: | meters |
| Range of values | |
|---|---|
| Minimum: | 14.1 |
| Maximum: | 16.6 |
| Units: | degrees Celsius |
| Range of values | |
|---|---|
| Minimum: | 134 |
| Maximum: | 135 |
| Units: | day |
awkhold:
BEGIN {
FS = ","
}
{
FS = ","
ARGC = 2
depth = -9999
temp = -9999
if (NR==1)
{
#printf("utctime, longitude, latitude, depth_m, temp_c, line\n")
}
if ($1=="$GPRMC")
{
utctime = $2
latdeg = substr($4,1,2)
latmin = substr($4,3,6)
declat = latdeg + (latmin/60)
londeg = substr($6,1,3)
lonmin = substr($6,4,6)
declon = -1 * (londeg + (lonmin/60))
if (NR==1) {
holddepth = -9999
holdtemp = -9999
}
else {
printf("%s, %9.6f, %9.6f, %5.1f, %5.1f, %s\n", holdutctime, >holddeclon, holddeclat, holddepth, holdtemp, ARGV[2])
}
holdutctime = utctime
holddeclon = declon
holddeclat = declat
holddepth = -9999
holdtemp = -9999
}
if ($1=="$SDDPT")
{
depthreal = $2
holddepth = depthreal
}
if ($1=="$SDMTW")
{
tempreal = $2
holdtemp = tempreal
}
}
END {
printf("%s, %9.6f, %9.6f, %5.1f, %5.1f, %s\n", holdutctime, holddeclon, holddeclat, >holddepth, holdtemp, ARGV[2])
}
This file was executed by a shell script to effectively batch process all the files in a single folder with the extension gps. The batch processing script was called dohold.
dohold:
files=`ls *.gps | cut -d. -f1` for file in $files do awk -f awkhold $file.gps $file >> may14_09_gps.txt doneUnder Cygwin, all of the hold files were concatenated into a single comma-delimited text file and a header line added to the file. The header line added to the text file was: gpstime, longitude, latitude, depth_m, temp_c, line. Using ArcMap 9.2 - Tools - Add XY Data, the comma-delimited text file was added as an event theme to ArcMap. No erroneous points were detected.
This processing step and all subsequent processing steps were performed by the same person - VeeAnn A. Cross. Person who carried out this activity:
gpstime, longitude, latitude, depth_m, temp_c, lineThis text file was then imported to ArcMap 9.2 using Tools -AddXY Data. The X field is longitude, Y field is latitude, and the coordinate system as defined as WGS84. This "Event Theme" was converted to a shapefile by right-mouse clicking on the layer - Data - Export Data. Data sources used in this process:
| Access_Constraints | None. |
|---|---|
| Use_Constraints | The public domain data from the U.S. Government are freely redistributable with proper metadata and source attribution. Please recognize the U.S. Geological Survey as the originator of the dataset. |
| Data format: | The zip file contains all the polyline shapefile of the processed CRP navigation data from U.S. Geological Survey field activity 2009-021-FA as well as a browse graphic and the associated metadata files. in format Shapefile (version ArcGIS 9.3.1) Size: 0.1 |
|---|---|
| Network links: |
https://cmgds.marine.usgs.gov/data/field-activity-data/2009-021-FA/data/geophysics/navigation/2009-021-FA_res_lines.zip https://doi.org/10.5066/F7DR2TSX |