From 604655de23c688f1c9e1574ff133edc9879f4979 Mon Sep 17 00:00:00 2001 From: anissa111 Date: Fri, 1 Dec 2023 21:45:45 -0700 Subject: [PATCH] add extra skewt options --- notebooks/data/gjt_sounding.csv | 153 -------------------------------- notebooks/data/jax_sounding.csv | 136 ++++++++++++++++++++++++++++ notebooks/skewt.ipynb | 93 ++++++++++++++++--- 3 files changed, 215 insertions(+), 167 deletions(-) delete mode 100644 notebooks/data/gjt_sounding.csv create mode 100644 notebooks/data/jax_sounding.csv diff --git a/notebooks/data/gjt_sounding.csv b/notebooks/data/gjt_sounding.csv deleted file mode 100644 index 5ebe503..0000000 --- a/notebooks/data/gjt_sounding.csv +++ /dev/null @@ -1,153 +0,0 @@ -pressure,height,temperature,dewpoint,direction,speed,u_wind,v_wind,station,station_number,time,latitude,longitude,elevation,pw -853.0,1475,5.2,2.0,305.0,3.0,2.4574561328669753,-1.720729309053138,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -850.0,1508,7.2,1.2,280.0,13.0,12.802500789158708,-2.2574263096700897,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -848.0,1527,7.4,1.4,287.0,13.0,12.43196182751946,-3.800832161395577,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -831.0,1693,6.4,-2.6,350.0,15.0,2.6047226650039557,-14.77211629518312,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -820.0,1802,5.4,-2.8,10.0,13.0,-2.257426309670094,-12.802500789158705,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -813.0,1871,4.8,-2.9,10.0,12.0,-2.083778132003164,-11.817693036146496,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -805.0,1952,4.0,-3.0,7.0,13.0,-1.584301464266917,-12.903099971337186,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -790.0,2102,2.7,-3.7,0.0,16.0,-0.0,-16.0,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -772.0,2286,1.0,-4.7,5.0,13.0,-1.1330246557195562,-12.950531075192693,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -761.0,2400,0.0,-5.2,10.0,15.0,-2.6047226650039548,-14.77211629518312,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -726.0,2776,-3.3,-7.1,25.0,25.0,-10.565456543517486,-22.657694675916247,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -718.0,2865,-4.1,-7.5,23.0,26.0,-10.159009340721118,-23.93312618976345,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -712.0,2930,-4.7,-8.4,22.0,27.0,-10.114378022229625,-25.03396407330326,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -707.0,2986,-3.9,-8.8,21.0,28.0,-10.034302587268408,-26.140251941921647,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -700.0,3064,-4.1,-10.1,20.0,29.0,-9.918584156444393,-27.251086002791343,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -676.0,3338,-5.7,-12.6,20.0,25.0,-8.550503583141717,-23.49231551964771,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -650.0,3645,-7.5,-15.5,20.0,28.0,-9.576564013118723,-26.31139338200543,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -646.0,3693,-7.9,-15.8,20.0,28.0,-9.576564013118723,-26.31139338200543,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -605.0,4199,-12.2,-18.4,30.0,22.0,-10.999999999999998,-19.052558883257653,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -600.0,4263,-12.7,-18.7,28.0,22.0,-10.328374381289596,-19.424847042896396,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -586.0,4443,-14.1,-21.1,23.0,21.0,-8.205353698274749,-19.33060192250125,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -554.0,4865,-17.3,-22.0,10.0,18.0,-3.125667198004746,-17.726539554219745,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -546.0,4974,-18.1,-22.2,15.0,18.0,-4.658742811845373,-17.38666487320323,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -535.0,5127,-19.3,-22.5,1.0,19.0,-0.3315957223083867,-18.99710620797143,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -534.0,5141,-19.3,-22.7,0.0,19.0,-0.0,-19.0,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -524.0,5282,-19.5,-25.0,0.0,23.0,-0.0,-23.0,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -522.0,5310,-19.5,-25.5,0.0,24.0,-0.0,-24.0,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -520.0,5339,-19.6,-26.1,0.0,26.0,-0.0,-26.0,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -516.0,5396,-19.7,-27.4,5.0,29.0,-2.527516539682087,-28.88964624466062,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -513.0,5439,-19.8,-28.3,0.0,28.0,-0.0,-28.0,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -508.0,5512,-19.9,-29.9,0.0,28.0,-0.0,-28.0,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -501.0,5615,-20.1,-30.1,0.0,27.0,-0.0,-27.0,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -500.0,5630,-20.1,-31.1,0.0,27.0,-0.0,-27.0,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -487.0,5824,-21.3,-35.3,355.0,27.0,2.3532050541867746,-26.89725684847713,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -451.0,6378,-26.5,-38.6,340.0,27.0,9.234543869793052,-25.37170076121953,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -430.0,6722,-29.7,-40.7,346.0,28.0,6.7738130767907005,-27.1682803357279,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -408.0,7092,-32.9,-44.9,353.0,30.0,3.656080302154417,-29.776384549239665,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -400.0,7230,-34.3,-46.3,355.0,30.0,2.6146722824297495,-29.885840942752367,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -370.0,7767,-39.4,-48.4,355.0,31.0,2.701828025177408,-30.882035640844112,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -352.0,8111,-42.7,-49.7,351.0,32.0,5.005902881287396,-31.606026899044405,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -307.0,9017,-50.9,-56.0,340.0,33.0,11.286664729747065,-31.00985648593498,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -300.0,9170,-52.3,-57.1,340.0,32.0,10.944644586421395,-30.07016386514907,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -299.0,9192,-52.5,-57.2,340.0,32.0,10.944644586421395,-30.07016386514907,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -293.0,9322,-53.5,-57.8,344.0,33.0,9.096032741960965,-31.721635965964524,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -285.0,9500,-54.3,-59.3,350.0,35.0,6.0776862183425635,-34.468271355427284,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -279.0,9636,-55.1,-60.0,355.0,37.0,3.2247624816633578,-36.85920382939459,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -276.0,9705,-55.5,-60.4,0.0,36.0,-0.0,-36.0,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -275.0,9729,-55.6,-60.5,0.0,35.0,-0.0,-35.0,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -273.0,9775,-55.7,-60.7,2.0,33.0,-1.151683391182532,-32.97989729163016,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -271.0,9822,-55.4,-60.7,5.0,31.0,-2.701828025177403,-30.882035640844112,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -265.0,9966,-54.6,-60.6,5.0,25.0,-2.1788935686914543,-24.90486745229364,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -261.0,10064,-54.1,-60.6,355.0,26.0,2.2660493114391165,-25.901062150385386,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -250.0,10340,-52.5,-60.5,345.0,23.0,5.952838037357976,-22.21629400464857,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -246.0,10444,-52.1,-60.1,335.0,19.0,8.029746973073285,-17.219847953696352,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -230.0,10877,-55.1,-64.8,345.0,29.0,7.5057523079731,-28.01184896238298,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -227.0,10961,-55.7,-65.7,344.0,30.0,8.269120674509969,-28.837850878149567,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -212.0,11402,-52.1,-64.8,340.0,35.0,11.9707050163984,-32.88924172750679,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -205.0,11619,-50.3,-64.3,343.0,31.0,9.063522846404853,-29.645447434854095,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -202.0,11715,-50.3,-64.3,344.0,29.0,7.993483318692969,-27.876589182211248,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -200.0,11780,-50.1,-65.1,345.0,28.0,7.246933262870579,-27.04592313609391,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -197.0,11879,-49.7,-64.9,340.0,24.0,8.208483439816046,-22.5526228988618,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -188.0,12187,-48.3,-64.3,318.0,28.0,18.735656978048027,-20.808055113367043,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -187.0,12222,-48.4,-64.5,315.0,28.0,19.798989873223334,-19.798989873223327,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -175.0,12659,-49.3,-67.3,338.0,31.0,11.612804395893283,-28.74269949157041,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -174.0,12696,-49.2,-67.4,340.0,31.0,10.602624443095726,-29.13047124436316,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -170.0,12850,-48.7,-67.7,338.0,32.0,11.987410989309195,-29.66988334613719,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -161.0,13207,-49.9,-69.9,332.0,35.0,16.431504697506178,-30.903165750062445,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -150.0,13670,-50.7,-71.7,325.0,39.0,22.369481017690813,-31.94692972727067,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -149.0,13713,-50.9,-72.2,320.0,39.0,25.068716777775045,-29.875733281640137,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -146.0,13845,-51.5,-73.5,318.0,36.0,24.088701828918893,-26.753213717186195,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -141.0,14073,-50.5,-73.7,315.0,30.0,21.21320343559643,-21.21320343559642,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -137.0,14260,-49.7,-73.8,300.0,36.0,31.17691453623979,-18.000000000000004,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -133.0,14453,-48.9,-73.9,310.0,31.0,23.74737773668832,-19.926415900282716,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -131.0,14552,-49.3,-74.5,315.0,29.0,20.506096654409884,-20.506096654409873,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -121.0,15068,-51.2,-77.5,330.0,34.0,17.000000000000014,-29.444863728670903,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -114.0,15455,-52.7,-79.7,300.0,21.0,18.186533479473212,-10.500000000000002,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -110.0,15685,-52.2,-80.0,295.0,26.0,23.564002462952896,-10.98807480525819,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -109.0,15744,-52.1,-80.1,292.0,27.0,25.03396407330326,-10.114378022229625,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -105.0,15985,-52.5,-81.0,280.0,30.0,29.54423259036624,-5.209445330007899,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -101.0,16236,-52.9,-81.9,292.0,32.0,29.6698833461372,-11.987410989309184,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -100.0,16300,-52.7,-82.7,295.0,33.0,29.908156972209444,-13.946402637443088,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -94.0,16696,-54.1,-84.1,320.0,26.0,16.71247785185003,-19.917155521093424,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -87.0,17190,-55.8,-85.8,305.0,23.0,18.84049701864681,-13.192258036074058,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -86.5,17227,-55.9,-85.9,307.0,23.0,18.368616731087744,-13.841745532497102,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -85.1,17331,-55.7,-85.7,312.0,24.0,17.83547581145747,-16.059134552612587,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -83.0,17488,-56.2,-86.1,320.0,25.0,16.06969024216349,-19.151111077974445,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -77.0,17961,-57.8,-87.2,300.0,24.0,20.784609690826528,-12.000000000000004,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -73.2,18280,-58.9,-87.9,309.0,23.0,17.874357113510328,-14.474368994146262,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -71.0,18471,-59.1,-88.1,315.0,23.0,16.263455967290597,-16.26345596729059,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -70.9,18480,-59.1,-88.1,315.0,24.0,16.970562748477143,-16.970562748477136,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -70.0,18560,-58.7,-87.7,315.0,25.0,17.677669529663692,-17.677669529663685,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -69.0,18650,-58.8,-87.8,320.0,28.0,17.998053071223108,-21.449244407331378,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -66.0,18930,-59.0,-88.0,340.0,16.0,5.472322293210698,-15.035081932574537,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -64.0,19123,-59.1,-88.1,320.0,7.0,4.499513267805777,-5.362311101832844,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -63.7,19153,-59.1,-88.1,316.0,8.0,5.557266963671981,-5.754718402709207,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -61.0,19424,-59.5,-88.5,275.0,15.0,14.942920471376183,-1.3073361412148683,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -59.1,19622,-59.7,-88.7,288.0,17.0,16.167960777017612,-5.253288904374103,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -56.2,19938,-59.3,-88.3,309.0,20.0,15.542919229139416,-12.586407820996753,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -56.0,19960,-59.3,-88.3,310.0,20.0,15.320888862379562,-12.855752193730783,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -55.0,20073,-59.5,-88.5,313.0,17.0,12.433012927525896,-11.593972121062478,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -53.0,20305,-59.5,-88.5,320.0,11.0,7.070663706551936,-8.426488874308756,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -52.2,20400,-59.5,-88.5,328.0,13.0,6.888950435031665,-11.024625250033536,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -50.5,20608,-59.7,-88.7,345.0,18.0,4.658742811845372,-17.38666487320323,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -50.0,20670,-59.9,-88.9,350.0,19.0,3.2993153756716773,-18.711347307231954,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -49.4,20745,-59.9,-88.9,354.0,18.0,1.8815123388177617,-17.901394116628918,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -48.0,20925,-59.6,-88.6,5.0,14.0,-1.2201803984672144,-13.946725773284438,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -47.0,21057,-59.5,-88.5,40.0,8.0,-5.142300877492314,-6.128355544951824,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -46.0,21192,-59.3,-88.3,20.0,3.0,-1.0260604299770062,-2.8190778623577253,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -44.2,21442,-58.9,-87.9,96.0,5.0,-4.972609476841367,0.5226423163382677,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -44.0,21471,-58.9,-87.8,105.0,5.0,-4.8296291314453415,1.294095225512604,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -42.7,21659,-58.5,-87.5,60.0,8.0,-6.928203230275509,-4.000000000000001,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -41.0,21914,-58.9,-87.9,0.0,12.0,-0.0,-12.0,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -38.2,22357,-59.7,-88.7,42.0,13.0,-8.698697882665158,-9.660882731206126,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -38.0,22390,-59.7,-88.7,45.0,13.0,-9.192388155425116,-9.19238815542512,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -37.0,22557,-59.7,-88.7,35.0,8.0,-4.588611490808368,-6.553216354311934,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -36.4,22659,-59.7,-88.7,51.0,10.0,-7.771459614569709,-6.293203910498374,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -35.0,22904,-60.0,-88.2,90.0,15.0,-15.0,-9.18485099360515e-16,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -34.8,22940,-60.1,-88.1,89.0,13.0,-12.998020037033086,-0.2268812836846867,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -34.0,23085,-60.2,-88.8,85.0,4.0,-3.984778792366982,-0.3486229709906325,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -33.5,23178,-60.3,-89.3,120.0,4.0,-3.464101615137755,1.9999999999999991,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -33.0,23272,-60.0,-89.2,155.0,5.0,-2.1130913087034973,4.531538935183249,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -32.0,23464,-59.3,-88.9,140.0,4.0,-2.571150438746158,3.0641777724759116,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -31.2,23623,-58.7,-88.7,105.0,9.0,-8.693332436601615,2.3293714059226875,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -30.0,23870,-57.5,-87.5,50.0,16.0,-12.256711089903648,-10.28460175498463,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -29.0,24084,-57.2,-87.2,50.0,20.0,-15.32088886237956,-12.855752193730789,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -28.7,24149,-57.1,-87.1,49.0,19.0,-14.339482024232668,-12.46512155081964,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -27.0,24533,-58.3,-87.6,40.0,11.0,-7.070663706551931,-8.426488874308758,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -26.5,24651,-58.7,-87.7,67.0,8.0,-7.364038827619523,-3.1258490279141897,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -26.0,24770,-58.8,-87.7,95.0,4.0,-3.984778792366982,0.3486229709906329,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -25.0,25015,-59.1,-87.6,15.0,13.0,-3.3646475863327696,-12.557035741757888,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -23.5,25402,-59.5,-87.5,46.0,16.0,-11.509436805418416,-11.114533927343956,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -22.7,25617,-59.9,-88.9,64.0,18.0,-16.178292833385004,-7.890680642203394,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -22.0,25813,-59.4,-88.7,80.0,20.0,-19.69615506024416,-3.4729635533386083,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -21.0,26104,-58.6,-88.3,40.0,16.0,-10.284601754984628,-12.256711089903648,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -20.4,26286,-58.1,-88.1,31.0,15.0,-7.725571123650813,-12.857509510531685,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -20.0,26410,-57.9,-86.9,25.0,15.0,-6.339273926110492,-13.59461680554975,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -19.9,26442,-57.9,-86.9,29.0,14.0,-6.7873346834487185,-12.24467589995154,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -19.7,26505,-58.1,-87.1,38.0,12.0,-7.3879377039079,-9.456129043280663,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -19.0,26734,-57.4,-86.9,70.0,6.0,-5.63815572471545,-2.052120859954013,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -18.3,26971,-56.7,-86.7,25.0,12.0,-5.071419140888393,-10.8756934444398,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -18.0,27076,-56.7,-86.7,5.0,14.0,-1.2201803984672144,-13.946725773284438,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -17.0,27438,-56.5,-86.5,350.0,13.0,2.257426309670095,-12.802500789158705,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -16.4,27666,-56.1,-86.1,14.0,16.0,-3.870750329594684,-15.524731620415944,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -16.0,27823,-55.9,-85.9,30.0,18.0,-8.999999999999998,-15.588457268119896,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -15.9,27863,-55.9,-85.9,29.0,18.0,-8.726573164434066,-15.743154728509124,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -15.0,28233,-55.8,-85.8,20.0,18.0,-6.156362579862037,-16.914467174146353,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -14.0,28672,-55.8,-85.8,20.0,13.0,-4.446261863233693,-12.21600407021681,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -13.4,28951,-55.7,-85.7,53.0,17.0,-13.576803670803978,-10.23085539358482,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -13.0,29144,-55.5,-85.5,75.0,20.0,-19.31851652578137,-5.176380902050415,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -12.7,29293,-55.3,-85.3,,,,,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -12.1,29601,-55.5,-85.5,,,,,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 -12.0,29654,-55.7,-85.7,,,,,GJT,72476,2023-11-20 12:00:00,39.11,-108.53,1475.0,9.12 diff --git a/notebooks/data/jax_sounding.csv b/notebooks/data/jax_sounding.csv new file mode 100644 index 0000000..d7e07d3 --- /dev/null +++ b/notebooks/data/jax_sounding.csv @@ -0,0 +1,136 @@ +pressure,height,temperature,dewpoint,direction,speed,u_wind,v_wind,station,station_number,time,latitude,longitude,elevation,pw +1012.0,9.0,24.8,23.6,0,0,0.0,0.0,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +1003.0,88.0,26.3,22.6,210,14,7.000000000000002,12.12435565298214,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +1000.0,115.0,26.8,22.2,210,14,7.000000000000002,12.12435565298214,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +993.0,177.0,26.8,21.8,200,14,4.788282006559362,13.155696691002717,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +986.0,240.0,26.6,20.8,190,14,2.4310744873370265,13.787308542170912,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +985.0,249.0,26.6,20.6,190,14,2.4310744873370265,13.787308542170912,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +979.0,303.0,26.4,20.4,190,14,2.4310744873370265,13.787308542170912,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +977.0,321.0,26.4,20.4,192,14,2.910763671448633,13.694066410273278,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +970.0,385.0,26.4,21.4,200,12,4.104241719908024,11.276311449430901,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +954.0,533.0,26.2,19.2,217,9,5.4163352083684355,7.187719590425635,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +947.0,598.0,25.8,19.1,225,8,5.65685424949238,5.6568542494923815,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +941.0,654.0,25.5,18.9,245,7,6.34415450925655,2.958327832184894,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +925.0,805.0,24.6,18.6,210,4,2.0000000000000004,3.4641016151377544,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +920.0,853.0,24.2,19.2,205,4,1.690473046962797,3.6252311481466,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +915.0,900.0,23.9,19.1,225,2,1.414213562373095,1.4142135623730954,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +910.0,948.0,23.6,18.9,280,1,0.9848077530122081,-0.17364817766692997,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +901.0,1035.0,23.0,18.7,270,3,3.0,5.51091059616309e-16,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +874.0,1301.0,21.2,17.9,280,8,7.878462024097665,-1.3891854213354398,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +850.0,1542.0,19.6,16.1,290,12,11.2763114494309,-4.104241719908028,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +831.0,1737.0,18.3,14.2,305,10,8.191520442889917,-5.7357643635104605,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +827.0,1778.0,18.0,13.8,304,10,8.290375725550415,-5.59192903470747,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +796.0,2104.0,15.4,12.1,300,10,8.660254037844386,-5.000000000000001,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +791.0,2158.0,15.0,11.8,299,10,8.746197071393956,-4.848096202463373,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +776.0,2320.0,14.0,10.4,296,10,8.98794046299167,-4.383711467890774,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +768.0,2408.0,13.4,10.3,295,11,9.969385657403148,-4.648800879147696,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +743.0,2686.0,12.0,8.0,290,11,10.336618828644992,-3.762221576582359,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +732.0,2811.0,11.4,6.9,303,10,8.386705679454243,-5.446390350150266,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +722.0,2926.0,10.6,7.3,315,9,6.363961030678929,-6.363961030678926,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +718.0,2973.0,10.2,7.4,306,9,7.281152949374528,-5.290067270632257,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +713.0,3031.0,9.9,7.0,295,9,8.156770083329848,-3.8035643556662966,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +700.0,3184.0,9.0,6.0,305,8,6.553216354311934,-4.588611490808368,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +652.0,3769.0,5.6,0.9,301,12,10.286007608425347,-6.180456898920649,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +643.0,3881.0,5.0,0.5,300,13,11.258330249197702,-6.500000000000002,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +618.0,4200.0,3.1,-0.5,285,11,10.625184089179752,-2.8470094961277232,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +589.0,4587.0,0.9,-1.8,295,14,12.688309018513097,-5.916655664369794,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +547.0,5182.0,-2.5,-3.8,270,12,12.0,2.204364238465236e-15,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +542.0,5256.0,-2.9,-4.0,276,12,11.93426274441928,-1.2543415592118359,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +530.0,5432.0,-4.0,-5.5,290,11,10.336618828644992,-3.762221576582359,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +500.0,5890.0,-6.9,-9.4,265,13,12.950531075192693,1.1330246557195571,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +494.0,5984.0,-7.2,-9.9,260,11,10.832885283134289,1.9101299543362336,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +482.0,6176.0,-7.9,-11.0,266,11,10.973204552858066,0.7673212111853813,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +472.0,6340.0,-8.1,-9.9,272,11,10.993299097210054,-0.3838944637275141,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +440.0,6883.0,-11.4,-15.4,290,10,9.396926207859083,-3.4202014332566897,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +435.0,6971.0,-11.9,-16.3,288,10,9.510565162951536,-3.0901699437494723,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +424.0,7168.0,-13.1,-15.9,284,11,10.673252989035962,-2.661140851596342,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +419.0,7258.0,-13.9,-18.0,282,11,10.75962360807186,-2.287028598995354,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +405.0,7516.0,-15.5,-17.8,276,12,11.93426274441928,-1.2543415592118359,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +403.0,7554.0,-15.7,-18.2,275,12,11.954336377100947,-1.0458689129718945,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +400.0,7610.0,-16.1,-18.7,275,13,12.950531075192693,-1.1330246557195525,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +364.0,8312.0,-20.9,-27.9,316,19,13.198509038720955,-13.667456206434366,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +357.0,8455.0,-22.0,-28.0,325,20,11.47152872702093,-16.38304088577983,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +340.0,8812.0,-24.7,-28.4,308,17,13.39618281131427,-10.466245080536195,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +327.0,9093.0,-26.4,-31.3,295,14,12.688309018513097,-5.916655664369794,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +322.0,9204.0,-27.1,-32.5,315,14,9.899494936611667,-9.899494936611664,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +316.0,9340.0,-27.9,-33.9,308,17,13.39618281131427,-10.466245080536195,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +300.0,9710.0,-31.1,-35.5,290,24,22.5526228988618,-8.208483439816057,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +299.0,9733.0,-31.3,-35.6,290,24,22.5526228988618,-8.208483439816057,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +273.0,10373.0,-35.5,-38.4,282,27,26.40998521981275,-5.613615652079505,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +250.0,10980.0,-40.3,-43.6,275,29,28.88964624466062,-2.527516539682079,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +228.0,11601.0,-45.1,-49.4,275,33,32.874425037027606,-2.87613951067271,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +213.0,12049.0,-49.0,-52.5,275,36,35.86300913130284,-3.137606738915684,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +208.0,12206.0,-50.3,-53.6,275,35,34.8668144332111,-3.050450996168026,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +200.0,12460.0,-52.5,-56.1,275,33,32.874425037027606,-2.87613951067271,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +197.0,12556.0,-53.3,-56.9,270,30,30.0,5.510910596163089e-15,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +182.0,13061.0,-57.3,-61.1,287,23,21.995009387149814,-6.724549208622944,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +175.0,13305.0,-58.8,-62.4,295,20,18.126155740732997,-8.452365234813993,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +166.0,13634.0,-60.8,-64.2,290,16,15.035081932574533,-5.472322293210704,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +158.0,13941.0,-62.7,-65.8,302,19,16.112913826972097,-10.06846602043089,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +150.0,14260.0,-63.5,-67.9,315,22,15.556349186104049,-15.556349186104041,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +147.0,14383.0,-64.2,-68.6,320,21,13.498539803417332,-16.086933305498533,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +143.0,14550.0,-65.1,-69.6,325,27,15.486563781478255,-22.117105195802772,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +138.0,14766.0,-66.2,-70.9,335,21,8.874983496554684,-19.03246352776965,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +132.0,15036.0,-67.7,-72.5,315,17,12.02081528017131,-12.020815280171306,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +125.0,15366.0,-69.5,-74.5,334,14,6.137196055047089,-12.583116648188335,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +123.0,15462.0,-69.8,-74.7,340,13,4.446261863233691,-12.21600407021681,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +116.0,15811.0,-71.1,-75.6,355,20,1.7431148549531663,-19.92389396183491,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +115.0,15863.0,-71.3,-75.7,353,20,2.4373868681029447,-19.850923032826444,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +112.0,16019.0,-71.6,-76.1,345,20,5.176380902050414,-19.318516525781366,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +111.0,16072.0,-71.7,-76.2,345,21,5.435199947152935,-20.284442352070435,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +110.0,16126.0,-71.7,-76.4,347,24,5.398825304252768,-23.38488155484564,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +108.0,16235.0,-71.5,-76.7,350,30,5.209445330007911,-29.544232590366242,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +106.0,16345.0,-71.2,-77.0,5,28,-2.4403607969344288,-27.893451546568876,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +105.0,16401.0,-71.1,-77.1,8,27,-3.7576737259217667,-26.7372378560224,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +100.0,16690.0,-72.3,-78.3,25,22,-9.297601758295388,-19.9387713148063,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +97.0,16869.0,-72.8,-79.6,25,19,-8.029746973073289,-17.21984795369635,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +96.3,16911.0,-72.9,-79.9,28,18,-8.450488130146034,-15.893056671460686,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +91.8,17191.0,-73.3,-80.3,45,13,-9.192388155425117,-9.19238815542512,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +88.0,17440.0,-72.4,-80.3,60,9,-7.794228634059947,-4.500000000000001,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +82.0,17857.0,-70.8,-80.3,75,12,-11.59110991546882,-3.105828541230249,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +77.0,18228.0,-69.4,-80.3,55,15,-12.287280664334878,-8.60364654526569,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +76.5,18267.0,-69.3,-80.3,61,15,-13.119295607090937,-7.272144303695057,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +73.0,18548.0,-67.7,-79.8,100,15,-14.772116295183121,2.6047226650039548,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +70.0,18800.0,-66.3,-79.3,60,14,-12.12435565298214,-7.000000000000002,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +68.0,18978.0,-65.7,-79.3,50,21,-16.086933305498537,-13.498539803417327,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +56.0,20170.0,-61.7,-79.3,120,23,-19.91858428704209,11.499999999999996,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +52.3,20590.0,-60.3,-79.3,102,11,-10.759623608071863,2.2870285989953527,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +52.0,20626.0,-60.4,-79.4,100,10,-9.84807753012208,1.736481776669303,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +50.0,20870.0,-60.9,-79.9,115,9,-8.15677008332985,3.803564355666294,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +48.0,21124.0,-60.4,-80.4,60,9,-7.794228634059947,-4.500000000000001,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +46.0,21389.0,-59.9,-80.9,100,8,-7.878462024097664,1.3891854213354424,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +44.0,21666.0,-59.3,-81.5,55,13,-10.648976575756894,-7.456493672563599,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +42.6,21867.0,-58.9,-81.9,64,13,-11.68432260188917,-5.698824908258007,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +39.0,22423.0,-58.0,-82.5,90,12,-12.0,-7.347880794884119e-16,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +37.0,22755.0,-57.4,-82.9,55,21,-17.20219293006883,-12.045105163371968,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +34.0,23287.0,-56.5,-83.5,80,26,-25.60500157831741,-4.514852619340191,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +33.0,23475.0,-56.2,-83.7,65,23,-20.84507910184295,-9.720220020036088,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +32.1,23650.0,-55.9,-83.9,69,28,-26.140251941921647,-10.03430258726841,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +32.0,23669.0,-55.8,-83.9,70,29,-27.25108600279134,-9.918584156444396,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +30.0,24080.0,-54.5,-84.5,80,23,-22.650578319280786,-3.9939080863393994,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +29.0,24297.0,-53.5,-84.3,65,29,-26.282925824062847,-12.255929590480283,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +28.8,24342.0,-53.3,-84.3,67,29,-26.694640750120772,-11.331202726188938,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +26.0,25003.0,-50.9,-83.9,90,26,-26.0,-1.592040838891559e-15,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +24.0,25523.0,-50.5,-83.5,75,28,-27.04592313609391,-7.246933262870581,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +22.9,25829.0,-50.3,-83.3,107,26,-24.863923655038924,7.601664322791153,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +22.0,26090.0,-50.7,-83.7,135,25,-17.67766952966369,17.677669529663685,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +21.4,26270.0,-50.9,-83.9,111,20,-18.671608529944034,7.167358990906005,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +21.0,26392.0,-50.7,-83.7,95,17,-16.935309867559674,1.48164762671019,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +20.0,26710.0,-50.1,-83.1,75,26,-25.114071483515776,-6.729295172665539,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +19.0,27048.0,-49.2,-82.5,80,24,-23.63538607229299,-4.16755626400633,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +17.1,27741.0,-47.3,-81.3,94,33,-32.9196136585742,2.3019636335561358,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +17.0,27780.0,-47.2,-81.2,95,34,-33.87061973511935,2.96329525342038,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +15.2,28525.0,-45.3,-79.3,82,25,-24.756701718539258,-3.479327524001637,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +15.0,28613.0,-45.4,-79.3,80,24,-23.63538607229299,-4.16755626400633,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +14.0,29073.0,-46.2,-79.5,95,33,-32.874425037027606,2.8761395106727217,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +13.6,29266.0,-46.5,-79.5,109,28,-26.474520116780873,9.115908324800387,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +13.0,29566.0,-46.0,-79.4,130,19,-14.554844419260583,12.212964584044247,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +12.3,29935.0,-45.3,-79.3,99,25,-24.692208514878445,3.9108616260057705,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +12.0,30100.0,-45.5,-79.5,85,28,-27.893451546568876,-2.440360796934428,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +11.6,30326.0,-45.7,-79.7,79,28,-27.485561136534592,-5.342651870543258,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +11.1,30621.0,-45.1,-79.1,72,29,-27.580638972559452,-8.961492836873475,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +11.0,30681.0,-45.0,-79.0,70,29,-27.25108600279134,-9.918584156444396,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +10.4,31057.0,-44.3,-78.3,79,33,-32.39369705377291,-6.296696847425983,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +10.0,31320.0,-44.7,-78.7,85,36,-35.86300913130284,-3.137606738915693,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +9.4,31735.0,-43.7,-77.7,85,37,-36.85920382939459,-3.224762481663351,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 +9.0,,,,85,37,-36.85920382939459,-3.224762481663351,JAX,72206,2023-07-07,30.5,-81.7,9.0,58.42 diff --git a/notebooks/skewt.ipynb b/notebooks/skewt.ipynb index 8c305fa..1446cb4 100644 --- a/notebooks/skewt.ipynb +++ b/notebooks/skewt.ipynb @@ -72,10 +72,12 @@ "outputs": [], "source": [ "import matplotlib.pyplot as plt\n", + "from mpl_toolkits.axes_grid1.inset_locator import inset_axes\n", "import pandas as pd\n", "\n", - "from metpy.plots import SkewT\n", - "import metpy.calc as mpcalc" + "from metpy.plots import SkewT, Hodograph\n", + "import metpy.calc as mpcalc\n", + "from metpy.units import units" ] }, { @@ -89,8 +91,8 @@ "from datetime import datetime\n", "from siphon.simplewebservice.wyoming import WyomingUpperAir\n", "\n", - "date = datetime(2023, 11, 20, 12)\n", - "station = 'GJT'\n", + "date = datetime(2023, 7, 7, 0)\n", + "station = 'JAX'\n", "df = WyomingUpperAir.request_data(date, station)\n", "```" ] @@ -99,7 +101,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "We've already done this for you and saved the data in a file, `notebooks/data/gjt_sounding.csv` for you to use. We'll use that file's data for the rest of the notebook" + "We've already done this for you and saved the data in a file, `notebooks/data/jax_sounding.csv` for you to use. We'll use that file's data for the rest of the notebook" ] }, { @@ -108,7 +110,7 @@ "metadata": {}, "outputs": [], "source": [ - "df = pd.read_csv('data/gjt_sounding.csv')\n", + "df = pd.read_csv('data/jax_sounding.csv')\n", "df" ] }, @@ -118,6 +120,7 @@ "metadata": {}, "outputs": [], "source": [ + "h = df['height'].values\n", "p = df['pressure'].values\n", "T = df['temperature'].values\n", "Td = df['dewpoint'].values\n", @@ -150,9 +153,9 @@ "skewt = SkewT(fig=fig, rotation=45)\n", "\n", "# plot sounding data\n", - "skewt.plot(p, T, 'r') # air temperature\n", - "skewt.plot(p, Td, 'b') # dew point\n", - "skewt.plot_barbs(p, u, v) # wind barbs" + "skewt.plot(p, T, 'r') # air temperature\n", + "skewt.plot(p, Td, 'b') # dew point\n", + "skewt.plot_barbs(p[p >= 100], u[p >= 100], v[p >= 100]) # wind barbs" ] }, { @@ -181,10 +184,10 @@ "For air temperature and dew point, we can use the standard `plot` method. The `SkewT` object provides a wrapper around matplotlib's `plot` method, and can be used in the same way. Note that even though pressure is on the y-axis, we still provide it as the first argument to `plot` because it is the independent variable. \n", "\n", "```python\n", - "skewt.plot_barbs(p, u, v) # wind barbs\n", + "skewt.plot_barbs(p[p >= 100], u[p >= 100], v[p >= 100]) # wind barbs\n", "```\n", "\n", - "Finally, we use `SkewT`'s [`plot_barbs`](https://unidata.github.io/MetPy/latest/api/generated/metpy.plots.SkewT.html#metpy.plots.SkewT.plot_barbs) method to add the wind barbs to the right side of the plot. This is a wrapper around matplotlib's [`barbs`](https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.barbs.html#matplotlib.pyplot.barbs) method that applies the appropriate transformation and positions the barbs as expected for a Skew-T plot.\n", + "Finally, we use `SkewT`'s [`plot_barbs`](https://unidata.github.io/MetPy/latest/api/generated/metpy.plots.SkewT.html#metpy.plots.SkewT.plot_barbs) method to add the wind barbs to the right side of the plot. This is a wrapper around matplotlib's [`barbs`](https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.barbs.html#matplotlib.pyplot.barbs) method that applies the appropriate transformation and positions the barbs as expected for a Skew-T plot. Note that we only plot the wind barbs for pressure levels greater than 100 hPa. This is just to keep the wind barbs from extending off the plot.\n", "\n", "In addition to the elements we have added specifically, you can see that the `SkewT` object also added some of the structural elements we discussed previously. By default, `SkewT` adds the horizontal pressure and skewed temperature lines. " ] @@ -210,7 +213,7 @@ "# plot sounding data\n", "skewt.plot(p, T, 'r') # air temperature\n", "skewt.plot(p, Td, 'b') # dew point\n", - "skewt.plot_barbs(p, u, v) # wind barbs\n", + "skewt.plot_barbs(p[p >= 100], u[p >= 100], v[p >= 100]) # wind barbs\n", "\n", "# add dry adiabats, moist adiabats, and mixing ratio lines\n", "skewt.plot_dry_adiabats()\n", @@ -262,7 +265,7 @@ "skewt.plot_mixing_lines(linewidth=0.5)\n", "\n", "# add axis and figure titles\n", - "plt.title(df['station'][0] + ' ' + df['time'][0])\n", + "plt.title(df['station'][0] + ' ' + str(df['time'][0]))\n", "plt.xlabel('temperature (degC)')\n", "plt.ylabel('pressure (hPa)')" ] @@ -275,12 +278,74 @@ "- changed the figsize to `figsize=(8,12)`\n", "- removed the `rotation` kwarg from the `SkewT` object to allow the upper air temp and dew point lines to be seen without being cut off or expanding the x-axis limits\n", "- `skewt.ax.set_ylim(1000, 10)`: sets the y-axis limits to 1000 hPa at the bottom and 10 hPa at the top to include the entire sounding\n", - "- `skewt.plot_barbs(p[::5], u[::5], v[::5])`: plots every fifth wind barb to reduce clutter\n", + "- `skewt.plot_barbs(p[::5], u[::5], v[::5])`: plots every fifth wind barb to reduce clutter, also removes limiting the wind barbs to pressure levels greater than 100 hPa\n", "- reduced the linewidth of the dry adiabats, moist adiabats, and mixing ratio lines to 0.5\n", "- added axes labels\n", "- added a title including the station name and date of the sounding pulled from the data" ] }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Additional Skew-T Options\n", + "There are a few additional options that can be used to customize the appearance of the Skew-T plot that we haven't covered here. For more information, check out the [MetPy documentation](https://unidata.github.io/MetPy/latest/api/generated/metpy.plots.SkewT.html).\n", + "\n", + "Here's a few quick examples of some of those additional options:" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "fig = plt.figure(figsize=(15, 4))\n", + "\n", + "# set up some subplots\n", + "skewt_plots = []\n", + "for i in range(0,4):\n", + " skewt_plots.append(SkewT(fig=fig, subplot=(1,4,i+1), rotation=45))\n", + " skewt_plots[i].plot(p, T, 'r') # air temperature\n", + " skewt_plots[i].plot(p, Td, 'b') # dew point\n", + " skewt_plots[i].plot_barbs(p[::5], u[::5], v[::5], length=5, linewidth=0.5)\n", + " skewt_plots[i].plot_dry_adiabats(linewidth=0.5)\n", + " skewt_plots[i].plot_moist_adiabats(linewidth=0.5)\n", + " skewt_plots[i].plot_mixing_lines(linewidth=0.5)\n", + " skewt_plots[i].ax.set_xlabel('')\n", + " skewt_plots[i].ax.set_ylabel('')\n", + "\n", + "# calculate LCL and parcel profile\n", + "lcl_p, lcl_t = mpcalc.lcl(p[0]*units.hPa, T[0]*units.degC, Td[0]*units.degC)\n", + "lcl_prof = mpcalc.parcel_profile(p*units.hPa, T[0]*units.degC, Td[0]*units.degC).to('degC')\n", + "\n", + "\n", + "# LCL and parcel profile skew-T\n", + "skewt_plots[0].ax.set_title('LCL and Parcel Profile')\n", + "skewt_plots[0].plot(p, lcl_prof, 'k')\n", + "skewt_plots[0].plot(lcl_p, lcl_t, 'ko')\n", + "\n", + "\n", + "# add constant temperature line at t=0\n", + "skewt_plots[1].ax.set_title('Constant T Line at 0$^\\circ$C')\n", + "skewt_plots[1].ax.axvline(0, color='k', ls='--')\n", + "\n", + "\n", + "# shade CAPE and CIN\n", + "skewt_plots[2].ax.set_title('Shade CAPE and CIN')\n", + "skewt_plots[2].plot(p, lcl_prof, 'k')\n", + "skewt_plots[2].shade_cin(p*units.hPa, T*units.degC, lcl_prof, Td*units.degC)\n", + "skewt_plots[2].shade_cape(p*units.hPa, T*units.degC, lcl_prof)\n", + "\n", + "\n", + "# Hodograph\n", + "skewt_plots[3].ax.set_title('Hodograph')\n", + "ax_hod = inset_axes(skewt_plots[3].ax, '30%', '30%')\n", + "hod = Hodograph(ax_hod, component_range=50)\n", + "hod.add_grid(increment=10)\n", + "hod.plot_colormapped(u, v, h)" + ] + }, { "cell_type": "markdown", "metadata": {},