Skip to content

Commit

Permalink
OMEGA-CAP now uses LFC instead of LCL as the upper bound.
Browse files Browse the repository at this point in the history
  • Loading branch information
a-urq committed Aug 18, 2023
1 parent 53fb6a5 commit 2cf3749
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
Binary file not shown.
Binary file not shown.
Binary file modified bin/com/ameliaWx/soundingViewer/SoundingFrame.class
Binary file not shown.
14 changes: 13 additions & 1 deletion src/com/ameliaWx/soundingViewer/SoundingFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ public SoundingFrame(String soundingSource, Sounding sounding0, DateTime time0,
omega0_3[i] = WeatherUtils.averageParameterOverLayer(activeSounding.getHeight(),
activeSounding.getWWind(), 0, 3000);
omegaCap[i] = WeatherUtils.averageParameterOverLayer(activeSounding.getHeight(),
activeSounding.getWWind(), 0, ml100Lcl[i]);
activeSounding.getWWind(), 0, ml100Lfc[i]);
omegaInflow[i] = WeatherUtils.averageParameterOverLayer(activeSounding.getHeight(),
activeSounding.getWWind(), inflowLayer[i][0], inflowLayer[i][1]);

Expand Down Expand Up @@ -1982,6 +1982,18 @@ private BufferedImage drawWinterReadouts(double scale) {
// System.out.println(brgn);
// System.out.println(bgRevised);
// System.out.println(bgRevExt);

// g.setColor(new Color(192, 192, 192));
// g.setFont(new Font(Font.MONOSPACED, Font.BOLD, (int) (9 * scale)));
// double surfacePressure = activeSounding.getPressureLevels()[activeSounding.getPressureLevels().length - 1];
// double surfaceHeight = activeSounding.getHeight()[activeSounding.getHeight().length - 1];
// double meltingEnergy = PtypeAlgorithms.meltingEnergy(activeSounding.getPressureLevels(),
// activeSounding.getTemperature(), activeSounding.getDewpoint(), activeSounding.getHeight(),
// surfacePressure, surfaceHeight);
// double refreezingEnergy = PtypeAlgorithms.refreezingEnergy(activeSounding.getPressureLevels(),
// activeSounding.getTemperature(), activeSounding.getDewpoint(), activeSounding.getHeight(),
// surfacePressure, surfaceHeight);
// g.drawString(String.format("%04.0fM/%04.0fF", meltingEnergy, refreezingEnergy), (int) (5 * scale), (int) (85 * scale));

return winterReadouts;
}
Expand Down

0 comments on commit 2cf3749

Please sign in to comment.