Skip to content

DavidEngland/SpectralBL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CASES99-SpectralBL

A high-order Spectral Finite Element ($p$-FEM) toolkit written in Julia, built specifically to ingest sparse, irregular tower profiles and map them onto a metric-consistent geometry.

Quick Start Configuration

  1. Initialize dependencies inside Julia's active runtime package space:
julia --project="." -e 'using Pkg; Pkg.instantiate()'
  1. Run pre-flight validation on your custom NetCDF header tracking scheme:
julia --project="." scripts/validate_netcdf_schema.jl data/sample.nc data/cases99_netcdf_schema.txt
  1. Execute the full feature-extraction production matrix loop across all data steps:
julia --project="." scripts/RunCampaignPipeline.jl data/sample.nc data/diagnostic_trajectory.csv

After make clean, regenerate schema and trajectory artifacts before reporting or manuscript builds.

First Working Draft Workflow

Use this sequence when rebuilding a manuscript-ready draft from a clean workspace:

make setup
make validate
make run
julia --project="." scripts/Report.jl
julia --project="." scripts/run_synoptic_analysis.jl
julia --project="." scripts/run_universal_sponge_test.jl CASES_99
make ms

This produces the figure assets consumed by drafts/main.tex from:

  • data/drafts/figures/
  • data/universal_sponge/cases_99/
  • drafts/figures/ (for manuscript PDF copies)

Synthetic Wave Sponge Validation

Run the standalone synthetic gravity-wave reflection experiment:

julia --project="." scripts/test_wave_reflection.jl

Or use Make targets:

make wave_test   # synthetic wave-only validation
make full        # setup + validate + run + report + wave_test
make universal_wave_test   # campaign-geometry replication run (default CASES_99)

Artifacts are written to:

  • data/wave_reflection_test.png
  • data/wave_reflection_test.pdf
  • data/wave_reflection_metrics.csv

Universal Campaign Replication Framework

Run with predefined campaign geometry:

julia --project="." scripts/run_universal_sponge_test.jl CASES_99
julia --project="." scripts/run_universal_sponge_test.jl FLOSS_II
julia --project="." scripts/run_universal_sponge_test.jl SHEBA
julia --project="." scripts/run_universal_sponge_test.jl BLLAST

Run all predefined campaigns:

julia --project="." scripts/run_universal_sponge_test.jl --all

Run custom geometry:

julia --project="." scripts/run_universal_sponge_test.jl MY_CAMPAIGN 1.5 50.0 0.05

Per-campaign artifacts are written under data/universal_sponge/<campaign_name>/. The output directory name is lowercase (for example, CASES_99 writes to data/universal_sponge/cases_99/):

  • wave_reflection_metrics.csv
  • wave_reflection_test.png
  • wave_reflection_test.pdf
  • wave_reflection_summary.md

About

A high-order Spectral Finite Element (p-FEM) framework for metric-consistent wave-turbulence decomposition and regime identification in highly stratified nocturnal boundary layers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors