Skip to content

File formats ​

The picker recognises its files by their content, not by their extension.

Profiles (.pgmg) ​

A JLD2 file with a single entry, a GeophysicalModelGenerator ProfileData object. The name of the entry does not matter. Profile files are made with GeophysicalModelGenerator.jl (branch profile_processing_mt); see load_profile!.

The picker uses these fields of the ProfileData:

FieldUsed for
verticalvertical cross-section (true) or horizontal slice (false)
start_lonlat, end_lonlatstart and end point of a vertical profile
depthdepth of a horizontal slice
VolDatavolume data (a GeoData, or a NamedTuple of them), shown as heatmap and contour lines
SurfDatasurface data (NamedTuple of GeoData), shown as lines
PointDatapoint data (NamedTuple of GeoData), shown as markers
TopoDatatopography (NamedTuple of GeoData)

Picks (.aagpp, .csv) ​

Written by save_picks (Menu → Save Picks), read by load_picks.

JLD2 (.aagpp) ​

EntryContent
format"AdriaArrayGeometryPicker.Picks"
version1
namesthe names of the two coordinates, e.g. ["x", "depth"]
picksall columns as a NamedTuple of vectors, e.g. (x = [...], depth = [...], lon = [...], lat = [...])
metadataa Dict{String,Any}

CSV (.csv) ​

Metadata as # key = value comment lines (nested keys joined with .), then a header row and one row per pick:

# AdriaArrayGeometryPicker.Picks v1
# date = 2026-10-05T10:31:12.123
# end_lonlat = (15.465423125301268, 47.79656290565586)
# profile_file = Profile1.pgmg
# profile_type = vertical
# start_lonlat = (9.777223439354351, 42.936916884179524)
# user = MT
x,depth,lon,lat
60.0,-35.0,10.257199224941168,43.346978510988194
180.0,-45.0,11.221291268553239,44.17063912818688

Metadata values in CSV files are text, so they come back as strings from load_picks.

Columns and metadata of picks made in the picker ​

ColumnVertical profileHorizontal slice
xdistance along the profile (km)NaN
depthdepth (km)depth of the slice
lon, latinterpolated along the profile (NaN outside the profile)picked position
MetadataContent
userthe name in the User name field
datedate and time of saving
profile_filefile name of the profile
profile_type"vertical" or "horizontal"
start_lonlat, end_lonlatstart and end of a vertical profile
depthdepth of a horizontal slice

Older pick files ​

load_picks also reads the pick files of MakiePickerGUI.jl (format "MakiePickerGUI.Picks") and of the original AdriaArrayGeometryPicker.jl (.jld2).

State of the window (.aagps) ​

Written by save_gui_state (Menu → Save State), read by load_gui_state!. A JLD2 file with:

EntryContent
format"AdriaArrayGeometryPicker state" (state files of MakiePickerGUI.jl: "MakiePickerGUI state")
version1
profile_pathfull path of the profile file; the profile is loaded again from this file
settingsa Dict{String,Any} with the settings of the window, see gui_settings