initial commit after adapting from previous version
jupyter/0_Initialize.ipynb
0 → 100644
This diff is collapsed.
jupyter/TestMarIQT.ipynb
0 → 100644
mariqt/__init.py__
0 → 100644
mariqt/annotation/ofop.py
0 → 100644
mariqt/core.py
0 → 100644
mariqt/definitions.py
0 → 100644
### A dictionary holding various header field names to store 4.5D navigation information in the form of: | ||
### t (utc time), x (longitude), y (latitude), z (depth: below sea level), a (altitude: above seafloor) | ||
pos_header = { | ||
# Field/column name definition for internally handling this kind of t,y,x,z,h position data | ||
"mariqt":{ | ||
'utc':'utc', # YYYY-MM-DD HH:ii:ss.sssss+0000 (UTC!!!) -> t-axis | ||
'lat':'lat', # Decimal degrees, WGS84 / EPSG4362 -> y-axis | ||
'lon':'lon', # Decimal degrees, WGS84 / EPSG4326 -> x-axis | ||
'dep':'dep', # Depth of the signal, sample, platform, ... *in the water* -> z-axis, positive when submerged, negative when in air | ||
'hgt':'hgt' # Height above the seafloor -> relative measure! | ||
}, | ||
# Definition of field/column names according to the iFDO specification: | ||
# https://gitlab.hzdr.de/datahub/marehub/ag-videosimages/metadata-profiles-fdos/-/blob/master/MareHub_AGVI_iFDO.md | ||
"ifdo":{'utc':'image-datetime','lat':'image-latitude','lon':'image-longitude','dep':'image-depth','hgt':'image-meters-above-ground'}, | ||
# Definition of field/column names according to the "Acquisition, Curation and Management Workflow" | ||
# for marine image data https://www.nature.com/articles/sdata2018181 | ||
"acmw":{'utc':'SUB_datetime','lat':'SUB_latitude','lon':'SUB_longitude','dep':'SUB_depth','hgt':'SUB_distance'}, | ||
# Definition of field/colum names as they occur in a DSHIP export file | ||
# for RV Sonne posidonia beacons | ||
"posidonia_1":{'utc':'date time','lat':'USBL.PTSAG.1.Latitude','lon':'USBL.PTSAG.1.Longitude','dep':'USBL.PTSAG.1.Depth'}, | ||
"posidonia_2":{'utc':'date time','lat':'USBL.PTSAG.2.Latitude','lon':'USBL.PTSAG.2.Longitude','dep':'USBL.PTSAG.2.Depth'}, | ||
"posidonia_4":{'utc':'date time','lat':'USBL.PTSAG.4.Latitude','lon':'USBL.PTSAG.4.Longitude','dep':'USBL.PTSAG.4.Depth'}, | ||
"posidonia_5":{'utc':'date time','lat':'USBL.PTSAG.5.Latitude','lon':'USBL.PTSAG.5.Longitude','dep':'USBL.PTSAG.5.Depth'}, | ||
# for RV Sonne itself (GPS) | ||
"SO":{'utc':'date time','lat':'SYS.STR.PosLat','lon':'SYS.STR.PosLon'}, | ||
# for RV Maria S Merian sonardyne beacons | ||
"sonardyne_2104":{'utc':'date time','lat':'Ranger2.PSONLLD.2104.position_latitude','lon':'Ranger2.PSONLLD.2104.position_longitude','dep':'Ranger2.PSONLLD.2104.depth'}, | ||
"sonardyne_2105":{'utc':'date time','lat':'Ranger2.PSONLLD.2105.position_latitude','lon':'Ranger2.PSONLLD.2105.position_longitude','dep':'Ranger2.PSONLLD.2105.depth'}, | ||
# for RV Maria S Metian itself (GPS) | ||
"MSM":{'utc':'date time','lat':'SYS.STR.PosLat','lon':'SYS.STR.PosLon'}, | ||
# Definition of field/column names according to the DSM Workbench | ||
"workbench": {}, | ||
# Definition of field/column names required for assigning EXIF infos to a JPG file | ||
"exif":{'utc':'CreateDate','lat':'GPSLatitude','lon':'GPSLongitude','dep':'GPSAltitude','hgt':'GPSDestDistance'}, | ||
# Definition of field/column names according to the AWI O2A GeoCSV standard | ||
# https://confluence.digitalearth-hgf.de/display/DM/O2A+GeoCSV+Format | ||
# Warning: GeoCSVs need an additional WKT column: geometry [point] with values like: POINT(latitude longitude) | ||
# Warning: depth and altitude are guessed as i could not find it in the documentation | ||
"o2a":{'utc':'datetime','lat':'latitude [deg]','lon':'longitude [deg]','dep':'depth [m]','hgt':'altitude [m]'}, | ||
# Definition of field/column names according to the OFOP software | ||
< |