<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p></p>
<div><span style="font-size: 12pt;">Hi, ncl-talk</span><br>
</div>
<div><span style="font-size: 12pt;"><br>
</span></div>
<div><span style="font-size: 12pt;">The time in four position should be replace by time_in.</span></div>
<div><span style="font-size: 12pt;"><br>
</span></div>
<div><span style="font-size: 12pt;">==>> time_in <<==</span></div>
<div><span style="font-size: 12pt;"><br>
</span></div>
<div><br>
</div>
<div>if( any( variable .eq. (/"geopt","geopotential","z","height"/) ) ) then</div>
<div> ; Height [=full geopotentail height / 9.81]</div>
<div> if(isfilevar(nc_file,"PH")) then</div>
<div> if ( time .eq. -1 ) then</div>
<div> if(ISFILE) then</div>
<div> var = nc_file->PH</div>
<div> PHB = nc_file->PHB</div>
<div> else</div>
<div> var = file_handle[:]->PH</div>
<div> PHB = file_handle[:]->PHB</div>
<div> end if</div>
<div> else</div>
<div> if(ISFILE) then</div>
<div> var = nc_file->PH(time,:,:,:) ==>> <span style="font-family: Calibri, Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols; font-size: 16px;">time_in <<==</span></div>
<div> PHB = nc_file->PHB(time,:,:,:)<span style="font-family: Calibri, Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols; font-size: 16px;"> ==>> </span><span style="font-family: Calibri, Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols; font-size: 16px;">time_in<span style="font-family: Calibri, Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols; font-size: 16px;"> <<==</span></span></div>
<div> else</div>
<div> var = file_handle[:]->PH(time,:,:,:)<span style="font-family: Calibri, Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols; font-size: 16px;"> ==>> </span><span style="font-family: Calibri, Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols; font-size: 16px;">time_in<span style="font-family: Calibri, Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols; font-size: 16px;"> <<==</span></span></div>
<div> PHB = file_handle[:]->PHB(time,:,:,:)<span style="font-family: Calibri, Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols; font-size: 16px;"> ==>> </span><span style="font-family: Calibri, Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols; font-size: 16px;">time_in<span style="font-family: Calibri, Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols; font-size: 16px;"> <<==</span></span></div>
<div> end if</div>
<div> end if</div>
<div><br>
</div>
<div> var = var + PHB</div>
<div> z = wrf_user_unstagger(var,var@stagger)</div>
<div> z@description = "Geopotential"</div>
<br>
<p></p>
</div>
</body>
</html>