Skip to content

Commit

Permalink
all xyzrho written with scrit
Browse files Browse the repository at this point in the history
  • Loading branch information
a2ray committed Mar 7, 2024
1 parent 69f0ea3 commit a3aeec6
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions zz_portalcurtains/makeaseggdf_from_all_xyzrho.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
using HiQGA, PyPlot
includet("RDP.jl")
nlayers = 52
rootdir = "/Users/anray/Documents/work/projects/largeaem/final_01/aseggdf/"
## multiple surveys
items = [item for item in walkdir("/Users/anray/Documents/work/projects/largeaem/final_01/summaries_all")]
idx_summary = [basename(it[1]) == "summary" for it in items]
src_dir = [it[1] for it in items[idx_summary]]
src_epsg = [28353, 28354, 28351, 28354, 28354, 28354, 28354, 28352, 28352, 28352, 28352]
map(zip(src_dir, src_epsg)) do (sdir, epsg)
parts = split(sdir,"/")
fname = parts[end-2]*"_"*parts[end-1]
dst_dir = joinpath(rootdir, parts[end-2])
RDP.writeaseggdffromxyzrho(nlayers; src_dir=sdir, dst_dir, fname, src_epsg=epsg)
end

0 comments on commit a3aeec6

Please sign in to comment.