Skip to content

Commit

Permalink
change to normal grad plots for fixed_wing
Browse files Browse the repository at this point in the history
  • Loading branch information
a2ray committed Dec 5, 2023
1 parent 58b1a37 commit acab573
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/AEMnoNuisanceGradientInversionTools.jl
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ function plotconvandlast(soundings, delr, delz;
yl = nothing,
plotforward = false,
aem_in = nothing,
nnu = 0,
dpi=400)
linestartidx = splitsoundingsbyline(soundings)
nlines = length(linestartidx)
Expand All @@ -62,7 +63,7 @@ function plotconvandlast(soundings, delr, delz;
isfile(fnamecheck) && compress(soundings, zall) # write everything in one file if not done yet
fzipped = prefix == "" ? "zipped.dat" : prefix*"_zipped.dat"
A = readdlm(fzipped)
σ = A[:,end-nlayers:end-1]
σ = A[:,end-nlayers-nnu:end-nnu-1] # so we can plot TEMPEST and SPECTREM similar to heli
ϕd = A[:,end]
for i in 1:nlines
a, b = linestartend(linestartidx, i, nlines, soundings)
Expand Down

0 comments on commit acab573

Please sign in to comment.