Skip to content

Supported Data Formats

Zach Cobell edited this page Jul 14, 2015 · 3 revisions

IMEDS

Extension: ".imeds"

The IMEDS format, as far as I can tell, originated at the United States Army Corps of Engineers (USACE IMEDS) as part of the MORPHOS program. The data format's simplicity is one of the reasons it was so attractive when I began with this code. The format, as it is understood by this code, is as follows:

% IMEDS generic format - Water Level                     [Header 1 - Unused]
% year month day hour min sec watlev (m)                 [Header 2 - Unused]
AGENCY   TIMEZONE   DATUM                                [Header 3 - Unused]
STATION_1_NAME  STATION_1_LATITUDE   STATION_1_LONGITUDE
YEAR_1 MONTH_1 DAY_1 HOUR_1 MINUTE_1 SECOND_1 VALUE_1
YEAR_2 MONTH_2 DAY_2 HOUR_2 MINUTE_2 SECOND_2 VALUE_2
   .
   .  [Variable number of data points]
   .
YEAR_N MONTH_N DAY_N HOUR_N MINUTE_N SECOND_N VALUE_N
STATION_2_NAME  STATION_2_LATITUDE   STATION_2_LONGITUDE
YEAR_1 MONTH_1 DAY_1 HOUR_1 MINUTE_1 SECOND_1 VALUE_1
YEAR_2 MONTH_2 DAY_2 HOUR_2 MINUTE_2 SECOND_2 VALUE_2
   .
   .  [Variable number of data points]
   .
YEAR_N MONTH_N DAY_N HOUR_N MINUTE_N SECOND_N VALUE_N 
   .
   .  [Variable number of stations]
   .
STATION_N_NAME STATION_N_LATITUDE STATION_N_LONGITUDE
   .
   .
   .

Note that this is my best interpretation of the format. I'm sure a better description exists, however, this code currently interprets the format as I've described above.

ADCIRC (ASCII, netCDF)

ADCIRC File Extension: ".61, .62, .71, .72, .nc"
Station File Extension: ".txt"

Native ADCIRC station output (fort.61, fort.62, fort.71, fort.72) files can be read into the code when accompanied by a station file. Vector formatted files will be displayed as their magnitude.

The station file should be formatted as follows:

Number of Stations
Station 1 Longitude, Station 1 Latitude
Station 2 Longitude, Station 2 Latitude
   .
   .
   .
Station n Longitude, Station n Latitude

High Water Marks

Extension: ".csv"

The format used to display high water marks is the same as the one used for FigureGen. The format is as follows:

longitude_1,latitude_1,bathymetry_1,measured_1,modeled_1,error_1
   .
   .
   .
longitude_n,latitude_n,bathymetry_n,measured_n,modeled_n,error_n
Clone this wiki locally