Hello
[1] Please send all WRF questions to wrfhelp@ucar.edu
They wrote the wrf_* functions
[2] Users can look at the NCL level functions.
%> less $NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl
Search for "wrf_user_getvar" and look at the code. You will see:
if( any( variable .eq. (/"th","theta"/) ) ) then
; Potentail Temperature is model output T + 300K
if ( time .eq. -1 ) then
if(ISFILE) then
var = nc_file->T
else
var = file_handle[:]->T
end if
else
if(ISFILE) then
var = nc_file->T(time_in,:,:,:)
else
var = file_handle[:]->T(time_in,:,:,:)
end if
end if
var = var + 300.
var@description = "Potential Temperature (theta) "
return(var)
end if
On 9/10/12 11:15 AM, David Small, Mr wrote:
> Hello,
>
> I have a question about the potential temperature field retrieved from WRF output using wrf_user_getvar. Is it the total field or just the perturbation? How do I get the total potential temperature field?
>
> Thank you very much.
>
> Dave Small
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Sep 10 12:27:04 2012
This archive was generated by hypermail 2.1.8 : Tue Sep 11 2012 - 15:30:41 MDT