Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
brivas
mdf_reader
Commits
ebdc6bf1
Commit
ebdc6bf1
authored
5 years ago
by
iregon
Browse files
Options
Download
Email Patches
Plain Diff
Some code tables added
parent
d526a3a4
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
255 additions
and
49 deletions
+255
-49
data_models/lib/imma1_d704/code_tables/ICOADS.C99.BAROT.json
data_models/lib/imma1_d704/code_tables/ICOADS.C99.BAROT.json
+4
-0
data_models/lib/imma1_d704/code_tables/ICOADS.C99.BAROU.json
data_models/lib/imma1_d704/code_tables/ICOADS.C99.BAROU.json
+7
-0
data_models/lib/imma1_d704/code_tables/ICOADS.C99.BEAU.json
data_models/lib/imma1_d704/code_tables/ICOADS.C99.BEAU.json
+14
-0
data_models/lib/imma1_d704/code_tables/ICOADS.C99.CI.json
data_models/lib/imma1_d704/code_tables/ICOADS.C99.CI.json
+5
-0
data_models/lib/imma1_d704/code_tables/ICOADS.C99.MAT.json
data_models/lib/imma1_d704/code_tables/ICOADS.C99.MAT.json
+6
-0
data_models/lib/imma1_d704/code_tables/ICOADS.C99.NAT.json
data_models/lib/imma1_d704/code_tables/ICOADS.C99.NAT.json
+21
-0
data_models/lib/imma1_d704/code_tables/ICOADS.C99.RIG.json
data_models/lib/imma1_d704/code_tables/ICOADS.C99.RIG.json
+9
-0
data_models/lib/imma1_d704/code_tables/ICOADS.C99.SP.json
data_models/lib/imma1_d704/code_tables/ICOADS.C99.SP.json
+5
-0
data_models/lib/imma1_d704/code_tables/ICOADS.C99.SSTM.json
data_models/lib/imma1_d704/code_tables/ICOADS.C99.SSTM.json
+6
-0
data_models/lib/imma1_d704/code_tables/ICOADS.C99.TEMPI.json
data_models/lib/imma1_d704/code_tables/ICOADS.C99.TEMPI.json
+8
-0
data_models/lib/imma1_d704/code_tables/ICOADS.C99.THERMOM.json
...models/lib/imma1_d704/code_tables/ICOADS.C99.THERMOM.json
+5
-0
data_models/lib/imma1_d704/code_tables/ICOADS.C99.TI.json
data_models/lib/imma1_d704/code_tables/ICOADS.C99.TI.json
+4
-0
data_models/lib/imma1_d704/code_tables/ICOADS.C99.VESS.json
data_models/lib/imma1_d704/code_tables/ICOADS.C99.VESS.json
+5
-0
data_models/lib/imma1_d704/imma1_d704.json
data_models/lib/imma1_d704/imma1_d704.json
+156
-49
No files found.
data_models/lib/imma1_d704/code_tables/ICOADS.C99.BAROT.json
0 → 100644
View file @
ebdc6bf1
{
"1"
:
"aneroid"
,
"2"
:
"mercurial"
}
This diff is collapsed.
Click to expand it.
data_models/lib/imma1_d704/code_tables/ICOADS.C99.BAROU.json
0 → 100644
View file @
ebdc6bf1
{
"1"
:
"inches"
,
"2"
:
"millimeters"
,
"3"
:
"millibars"
,
"4"
:
"unable to determine"
,
"5"
:
"Paris inches"
}
This diff is collapsed.
Click to expand it.
data_models/lib/imma1_d704/code_tables/ICOADS.C99.BEAU.json
0 → 100644
View file @
ebdc6bf1
{
"01"
:
"Light air"
,
"02"
:
"Light breeze"
,
"03"
:
"Gentle breeze"
,
"04"
:
"Moderate breeze"
,
"05"
:
"Fresh breeze"
,
"06"
:
"Strong breeze"
,
"07"
:
"High wind,moderate gale,near gale"
,
"08"
:
"Gale,fresh gale"
,
"09"
:
"Strong, severe gale"
,
"10"
:
"Storm,whole gale"
,
"11"
:
"Violent storm"
,
"12"
:
"Hurricane force"
}
This diff is collapsed.
Click to expand it.
data_models/lib/imma1_d704/code_tables/ICOADS.C99.CI.json
0 → 100644
View file @
ebdc6bf1
{
"1"
:
"points"
,
"2"
:
"degrees"
,
"3"
:
"not indicated"
}
This diff is collapsed.
Click to expand it.
data_models/lib/imma1_d704/code_tables/ICOADS.C99.MAT.json
0 → 100644
View file @
ebdc6bf1
{
"1"
:
"wood"
,
"2"
:
"iron"
,
"3"
:
"composite"
,
"4"
:
"not identified"
}
This diff is collapsed.
Click to expand it.
data_models/lib/imma1_d704/code_tables/ICOADS.C99.NAT.json
0 → 100644
View file @
ebdc6bf1
{
"01"
:
"American"
,
"02"
:
"British"
,
"03"
:
"Chinese"
,
"04"
:
"French"
,
"05"
:
"Austrian"
,
"06"
:
"Dutch"
,
"07"
:
"Russian"
,
"08"
:
"German"
,
"09"
:
"Canadian"
,
"10"
:
"Belgian"
,
"11"
:
"Danish"
,
"12"
:
"Italian"
,
"13"
:
"Norwegian"
,
"14"
:
"Nova Scotian"
,
"15"
:
"Portuguese"
,
"16"
:
"Scottish"
,
"17"
:
"Swedish"
,
"21"
:
"Singaporean"
,
"99"
:
"undefined"
}
This diff is collapsed.
Click to expand it.
data_models/lib/imma1_d704/code_tables/ICOADS.C99.RIG.json
0 → 100644
View file @
ebdc6bf1
{
"01"
:
"ship"
,
"02"
:
"bark or barque"
,
"03"
:
"barkentine or barquentine"
,
"04"
:
"brigantine"
,
"05"
:
"schooner"
,
"06"
:
"frigate"
,
"99"
:
"not identified"
}
This diff is collapsed.
Click to expand it.
data_models/lib/imma1_d704/code_tables/ICOADS.C99.SP.json
0 → 100644
View file @
ebdc6bf1
{
"1"
:
"screw"
,
"2"
:
"paddle"
,
"3"
:
"not identified"
}
This diff is collapsed.
Click to expand it.
data_models/lib/imma1_d704/code_tables/ICOADS.C99.SSTM.json
0 → 100644
View file @
ebdc6bf1
{
"1"
:
"bucket"
,
"2"
:
"intake"
,
"3"
:
"as directed in the journals instructions"
,
"4"
:
"not indicated"
}
This diff is collapsed.
Click to expand it.
data_models/lib/imma1_d704/code_tables/ICOADS.C99.TEMPI.json
0 → 100644
View file @
ebdc6bf1
{
"1"
:
"Fahrenheit"
,
"2"
:
"Centigrade"
,
"3"
:
"Attached thermometer is Fahrenheit. Bry bulb, wet bulb and water temperature are Centigrade"
,
"4"
:
"Attached thermometer is Centigrade. Bry bulb, wet bulb and water temperature are Fahrenheit"
,
"5"
:
"Water temperature is Centigrade with other temperatures in Fahrenheit"
,
"6"
:
"Dry bulb and wet bulb are Centigrade with other temperatures in Fahrenheit"
}
This diff is collapsed.
Click to expand it.
data_models/lib/imma1_d704/code_tables/ICOADS.C99.THERMOM.json
0 → 100644
View file @
ebdc6bf1
{
"1"
:
"mounted as recommended in journal introduction"
,
"2"
:
"not mounted as recommended in journal introduction"
,
"3"
:
"not indicated"
}
This diff is collapsed.
Click to expand it.
data_models/lib/imma1_d704/code_tables/ICOADS.C99.TI.json
0 → 100644
View file @
ebdc6bf1
{
"1"
:
"AM (local)"
,
"2"
:
"PM (local)"
}
This diff is collapsed.
Click to expand it.
data_models/lib/imma1_d704/code_tables/ICOADS.C99.VESS.json
0 → 100644
View file @
ebdc6bf1
{
"1"
:
"sailing ship"
,
"2"
:
"steamer"
,
"3"
:
"not identified"
}
This diff is collapsed.
Click to expand it.
data_models/lib/imma1_d704/imma1_d704.json
View file @
ebdc6bf1
...
...
@@ -2284,18 +2284,21 @@
"description"
:
"Rig (type of ship) as appeared at beginning of journal"
,
"field_length"
:
2
,
"column_type"
:
"key"
,
"codetable"
:
"ICOADS.C99.RIG"
,
"LMR6"
:
false
},
"ship_material"
:
{
"description"
:
"Construction material"
,
"field_length"
:
1
,
"column_type"
:
"key"
,
"codetable"
:
"ICOADS.C99.MAT"
,
"LMR6"
:
false
},
"vessel_type"
:
{
"description"
:
"Type of vessel"
,
"field_length"
:
1
,
"column_type"
:
"key"
,
"codetable"
:
"ICOADS.C99.VESS"
,
"LMR6"
:
false
},
"vessel_length"
:
{
...
...
@@ -2320,12 +2323,14 @@
"description"
:
"Nation of registry"
,
"field_length"
:
2
,
"column_type"
:
"key"
,
"codetable"
:
"ICOADS.C99.NAT"
,
"LMR6"
:
false
},
"screw_paddle"
:
{
"description"
:
"Screw or paddle"
,
"field_length"
:
1
,
"column_type"
:
"key"
,
"codetable"
:
"ICOADS.C99.SP"
,
"LMR6"
:
false
},
"hold_depth"
:
{
...
...
@@ -2344,6 +2349,7 @@
"description"
:
"Barometer type. Add code table"
,
"field_length"
:
1
,
"column_type"
:
"key"
,
"codetable"
:
"ICOADS.C99.BAROT"
,
"LMR6"
:
true
},
"baro_height"
:
{
...
...
@@ -2368,6 +2374,7 @@
"description"
:
"Barometer units"
,
"field_length"
:
1
,
"column_type"
:
"key"
,
"codetable"
:
"ICOADS.C99.BAROU"
,
"LMR6"
:
false
},
"baro_cor"
:
{
...
...
@@ -2380,28 +2387,55 @@
"description"
:
"Are thermos mounted as recommended in journal"
,
"field_length"
:
1
,
"column_type"
:
"key"
,
"codetable"
:
"ICOADS.C99.THERMOM"
,
"LMR6"
:
false
},
"SST_I"
:
{
"description"
:
"Sea surface temperature method
. Add code table
"
,
"description"
:
"Sea surface temperature method"
,
"field_length"
:
1
,
"column_type"
:
"key"
,
"codetable"
:
"ICOADS.C99.SSTM"
,
"LMR6"
:
true
}
}
},
"c99_voyage"
:
{
"header"
:
{
"sentinal"
:
"2"
,
"field_layout"
:
"fixed_width"
,
"length"
:
52
,
"disable_read"
:
true
},
"header"
:
{
"sentinal"
:
"2"
,
"length"
:
52
,
"field_layout"
:
"fixed_width"
},
"elements"
:
{
"sentinal"
:
{
"description"
:
"Voyage header record identifier"
,
"field_length"
:
1
,
"column_type"
:
"str"
},
"c99_rt2"
:
{
"description"
:
"Voyage header record"
,
"field_length"
:
51
,
"column_type"
:
"str"
"reel_no"
:{
"description"
:
"Microfilm reel number. See if we want the zero padding or not..."
,
"field_length"
:
3
,
"column_type"
:
"str"
,
"LMR6"
:
true
},
"journal_no"
:
{
"description"
:
"Marine Meteorological Journal number,right justified, zero padded"
,
"field_length"
:
4
,
"column_type"
:
"str"
,
"LMR6"
:
true
},
"frame_start"
:
{
"description"
:
"As starting frame number in the voyage header record: ensures connection between header info and data"
,
"field_length"
:
4
,
"column_type"
:
"str"
,
"LMR6"
:
false
},
"from_city"
:
{
"description"
:
"Departure port as it appears on the form"
,
"field_length"
:
20
,
"column_type"
:
"str"
,
"LMR6"
:
false
},
"to_city"
:
{
"description"
:
"Destination port as it appears on the form"
,
"field_length"
:
20
,
"column_type"
:
"str"
,
"LMR6"
:
false
}
}
},
...
...
@@ -2413,67 +2447,136 @@
"field_length"
:
1
,
"column_type"
:
"str"
},
"Unknonwn1"
:
{
"description"
:
"Unknonwn"
,
"field_length"
:
27
,
"column_type"
:
"str"
"reel_no"
:{
"description"
:
"Microfilm reel number. See if we want the zero padding or not..."
,
"field_length"
:
3
,
"column_type"
:
"str"
,
"LMR6"
:
true
},
"LAT_DEG_AN"
:
{
"description"
:
"latitude by account at noon"
,
"journal_no"
:
{
"description"
:
"Marine Meteorological Journal number,right justified, zero padded"
,
"field_length"
:
4
,
"column_type"
:
"str"
,
"LMR6"
:
true
},
"frame_start"
:
{
"description"
:
"As starting frame number in the voyage header record: ensures connection between header info and data"
,
"field_length"
:
4
,
"column_type"
:
"str"
,
"LMR6"
:
false
},
"frame"
:
{
"description"
:
"Frame number at the top of each frame from which the daily inforation was extracted"
,
"field_length"
:
4
,
"column_type"
:
"str"
,
"LMR6"
:
false
},
"year"
:
{
"description"
:
"As indicated in the form"
,
"field_length"
:
4
,
"column_type"
:
"Int16"
},
"month"
:
{
"description"
:
"As indicated in the form"
,
"field_length"
:
2
,
"column_type"
:
"Int8"
},
"day"
:
{
"description"
:
"As indicated in the form"
,
"field_length"
:
2
,
"column_type"
:
"Int8"
},
"distance"
:
{
"description"
:
"Distance run by log since prededing run by log noon. Knots to tenths (tenth position blank if not reported)"
,
"field_length"
:
4
,
"scale"
:
0.01
,
"column_type"
:
"float16"
,
"scale"
:
0.1
,
"LMR6"
:
false
},
"lat_deg_an"
:
{
"description"
:
"latitude by account at noon, degrees"
,
"field_length"
:
2
,
"column_type"
:
"Int8"
,
"LMR6"
:
true
},
"LAT_CP_AN"
:
{
"description"
:
"latitude by account at noon"
,
"lat_min_an"
:
{
"description"
:
"latitude by account at noon, minutes"
,
"field_length"
:
2
,
"column_type"
:
"Int8"
,
"LMR6"
:
true
},
"lat_hemis_an"
:
{
"description"
:
"latitude by account at noon, hemisphere"
,
"field_length"
:
1
,
"column_type"
:
"str"
,
"LMR6"
:
true
},
"LON_DEG_AN"
:
{
"description"
:
"longitude by account at noon"
,
"field_length"
:
5
,
"scale"
:
0.01
,
"column_type"
:
"float16"
,
"lon_deg_an"
:
{
"description"
:
"longitude by account at noon, degrees"
,
"field_length"
:
3
,
"column_type"
:
"Int16"
,
"LMR6"
:
true
},
"lon_min_an"
:
{
"description"
:
"longitude by account at noon, minutes"
,
"field_length"
:
2
,
"column_type"
:
"Int8"
,
"LMR6"
:
true
},
"
LON_DEG_CP
"
:
{
"description"
:
"longitude by account at noon"
,
"
lon_hemis_an
"
:
{
"description"
:
"longitude by account at noon
, hemisphere
"
,
"field_length"
:
1
,
"column_type"
:
"str"
,
"LMR6"
:
true
},
"LAT_DEG_ON"
:
{
"description"
:
"latitude by observation at noon"
,
"field_length"
:
4
,
"scale"
:
0.01
,
"column_type"
:
"float16"
,
"lat_deg_on"
:
{
"description"
:
"latitude by observation at noon, degrees"
,
"field_length"
:
2
,
"column_type"
:
"Int8"
,
"LMR6"
:
true
},
"lat_min_on"
:
{
"description"
:
"latitude by observation at noon, minutes"
,
"field_length"
:
2
,
"column_type"
:
"Int8"
,
"LMR6"
:
true
},
"
LAT_CP_ON
"
:
{
"description"
:
"latitude by observation at noon"
,
"
lat_hemis_on
"
:
{
"description"
:
"latitude by observation at noon
, hemisphere
"
,
"field_length"
:
1
,
"column_type"
:
"str"
,
"LMR6"
:
true
},
"LON_DEG_OF"
:
{
"description"
:
"longitude by chronometer from forenoon observation"
,
"field_length"
:
5
,
"scale"
:
0.01
,
"column_type"
:
"float16"
,
"lon_deg_of"
:
{
"description"
:
"longitude by chronometer from forenoon observation, degrees"
,
"field_length"
:
3
,
"column_type"
:
"Int16"
,
"LMR6"
:
true
},
"LON_CP_OF"
:
{
"description"
:
"longitude by chronometer from forenoon observation"
,
"lon_min_of"
:
{
"description"
:
"longitude by chronometer from forenoon observation, minutes"
,
"field_length"
:
2
,
"column_type"
:
"Int8"
,
"LMR6"
:
true
},
"lon_hemis_of"
:
{
"description"
:
"longitude by chronometer from forenoon observation, hemisphere"
,
"field_length"
:
1
,
"column_type"
:
"str"
,
"LMR6"
:
true
},
"Unknown2"
:
{
"description"
:
"Unknonwn"
,
"field_length"
:
11
,
"column_type"
:
"str"
"current_speed"
:
{
"description"
:
"Current speed in the past 24 hours. To knots hundreths"
,
"field_length"
:
4
,
"column_type"
:
"float16"
,
"scale"
:
0.01
,
"LMR6"
:
false
},
"current_direction"
:
{
"description"
:
"Direction towards which the currents are moving. Code table? not in document, probably as other directions...."
,
"field_length"
:
7
,
"column_type"
:
"str"
,
"LMR6"
:
false
}
}
},
...
...
@@ -2531,6 +2634,7 @@
"description"
:
"Time indicator"
,
"field_length"
:
1
,
"column_type"
:
"key"
,
"codetable"
:
"ICOADS.C99.TI"
,
"LMR6"
:
true
},
"hour"
:
{
...
...
@@ -2547,15 +2651,16 @@
"LMR6"
:
true
},
"compass_ind"
:
{
"description"
:
"Compass indicator"
,
"description"
:
"Compass indicator
. Reflects: course steered, compass correction, Leeway, ships true course
"
,
"field_length"
:
1
,
"column_type"
:
"key"
,
"codetable"
:
"ICOADS.C99.CI"
,
"LMR6"
:
false
},
"ship_course_compass"
:
{
"description"
:
"Ship course steered by compass"
,
"description"
:
"Ship course steered by compass
. See digitization format for translation
"
,
"field_length"
:
7
,
"column_type"
:
"
key
"
,
"column_type"
:
"
str
"
,
"LMR6"
:
true
},
"compass_correction"
:
{
...
...
@@ -2565,19 +2670,19 @@
"LMR6"
:
false
},
"ship_course_true"
:
{
"description"
:
"Ship course true"
,
"description"
:
"Ship course true
. Same rules as course steered by compass
"
,
"field_length"
:
7
,
"column_type"
:
"
key
"
,
"column_type"
:
"
str
"
,
"LMR6"
:
true
},
"wind_dir_mag"
:
{
"description"
:
"Mean wind direction - magnetic"
,
"description"
:
"Mean wind direction - magnetic
. Same rules as course steered by compass
"
,
"field_length"
:
7
,
"column_type"
:
"
key
"
,
"column_type"
:
"
str
"
,
"LMR6"
:
true
},
"wind_dir_true"
:
{
"description"
:
"Wind direction - true"
,
"description"
:
"Wind direction - true
. Same rules as course steered by compass
"
,
"field_length"
:
7
,
"column_type"
:
"str"
,
"LMR6"
:
true
...
...
@@ -2586,6 +2691,7 @@
"description"
:
"Mean Beaufort force"
,
"field_length"
:
2
,
"column_type"
:
"key"
,
"codetable"
:
"ICOADS.C99.BEAU"
,
"LMR6"
:
true
},
"barometer"
:
{
...
...
@@ -2599,6 +2705,7 @@
"description"
:
"Temperature indicator"
,
"field_length"
:
1
,
"column_type"
:
"key"
,
"codetable"
:
"ICOADS.C99.TEMPI"
,
"LMR6"
:
true
},
"attached_thermometer"
:
{
...
...
@@ -2725,7 +2832,7 @@
"LMR6"
:
true
},
"compass_ind"
:
{
"description"
:
"Compass in
f
icator"
,
"description"
:
"Compass in
d
icator"
,
"field_length"
:
1
,
"column_type"
:
"key"
,
"LMR6"
:
false
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment