[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IDV #EGG-503150]: MSLP from wrf4

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: [IDV #EGG-503150]: MSLP from wrf4
  • Date: Mon, 21 Aug 2023 13:33:44 -0600

> Full Name: Abdoul
> Email Address: address@hidden
> Organization: lercia
> Package Version: 6.1u2 build date:2022-09-07 18:09 UTC
> Operating System: Linux
> Hardware: Java: home: /media/sarr/DATA/work/IDV_6.1u2/jre version: 1.8.0_302 
> j3d:1.6.1 fcs fcs
> Description of problem:
> 
> I am trying to find the formula for MSLP from wrfout, but can't find
> the location in IDV latest version.
> 
> what to do to have it?
> 
> Thank you
> 
> 
Here is the sample Jyphon code for MSLP,  I am going to add this to the system 
library.

def wrf_mslp(PSFC, HGT, T2):
  temp = noUnit(T2) + 6.5 * noUnit(HGT)/1000.
  pUnit = GridUtil.getParamType(PSFC).getRealComponents()[0].getDefaultUnit()
  ee = 9.81/(287.0*temp)* noUnit(HGT)
  exp1 = GridMath.applyFunctionOverGridsExt(ee,"exp")
  msl = noUnit(PSFC)*exp1*0.01 + (6.7 *  noUnit(HGT)  / 1000)
  mslp = newUnit(msl, "MSLP", "hPa")
  return mslp

Yuan

Ticket Details
===================
Ticket ID: EGG-503150
Department: Support IDV
Priority: Normal
Status: Open
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.