[gradsusr] gradsusr Digest, Vol 75, Issue 25

Peter Tuju peterenos at ymail.com
Mon May 30 01:54:02 EDT 2016


Dear all, 
I have to work with wrfout from seasonal model run to visualize the products. I successfully created a .ctl file to read in grads, but the problem Is that, I get ?"entire grid undefined " Why this and how to resolve it? For short time model run say 3 days works fine but for seasons I got stuck. Please help!?
'reinit''set display color white''open wrfout.ctl''set gxout shaded''d t2'
Entire Grid Undefined.
The 'sdfopen  wrfout_d02_2015-03-01.nc' gives the following message 
Scanning self-describing file:  wrfout_d02_2015-03-01.nc
udunits(3): syntax error:
-
 ^
gadsdf: SDF file has no discernable X coordinate.
To open this file with GrADS, use a descriptor file with an XDEF entry.
Documentation is at http://iges.org/grads/gadoc/SDFdescriptorfile.html


Please find the following ctl file, also attached.
dset ^wrfout_d02_2015-03.dat
options  byteswapped
undef 1.e30
title  OUTPUT FROM WRF V3.8 MODEL
pdef  213 192 lcc  -5.019   34.901  107.000   96.500   0.00000  -0.50000   20.00000  12000.000  12000.000
xdef  443 linear   22.91254   0.05405406
ydef  398 linear  -15.70837   0.05405406
zdef   47 linear 1 1  
tdef    1 linear 00Z01MAR2015    1440MN      
VARS   94
XLAT           1  0  LATITUDE, SOUTH IS NEGATIVE (degree_north)
XLONG          1  0  LONGITUDE, WEST IS NEGATIVE (degree_east)
LU_INDEX       1  0  LAND USE CATEGORY (-)
VAR_SSO        1  0  variance of subgrid-scale orography (m2)
U             47  0  x-wind component (m s-1)
V             47  0  y-wind component (m s-1)
W             47  0  z-wind component (m s-1)
PH            47  0  perturbation geopotential (m2 s-2)
PHB           47  0  base-state geopotential (m2 s-2)
T             47  0  perturbation potential temperature (theta-t0) (K)
MU             1  0  perturbation dry air mass in column (Pa)
MUB            1  0  base state dry air mass in column (Pa)
NEST_POS       1  0  - (-)
P             47  0  perturbation pressure (Pa)
PB            47  0  BASE STATE PRESSURE (Pa)
P_HYD         47  0  hydrostatic pressure (Pa)
Q2             1  0  QV at 2 M (kg kg-1)
T2             1  0  TEMP at 2 M (K)
TH2            1  0  POT TEMP at 2 M (K)
PSFC           1  0  SFC PRESSURE (Pa)
U10            1  0  U at 10 M (m s-1)
V10            1  0  V at 10 M (m s-1)
QVAPOR        47  0  Water vapor mixing ratio (kg kg-1)
QCLOUD        47  0  Cloud water mixing ratio (kg kg-1)
QRAIN         47  0  Rain water mixing ratio (kg kg-1)
SHDMAX         1  0  ANNUAL MAX VEG FRACTION (-)
SHDMIN         1  0  ANNUAL MIN VEG FRACTION (-)
SNOALB         1  0  ANNUAL MAX SNOW ALBEDO IN FRACTION (-)
TSLB           4  0  SOIL TEMPERATURE (K)
SMOIS          4  0  SOIL MOISTURE (m3 m-3)
SH2O           4  0  SOIL LIQUID WATER (m3 m-3)
SMCREL         4  0  RELATIVE SOIL MOISTURE (-)
SEAICE         1  0  SEA ICE FLAG (-)
XICEM          1  0  SEA ICE FLAG (PREVIOUS STEP) (-)
SFROFF         1  0  SURFACE RUNOFF (mm)
UDROFF         1  0  UNDERGROUND RUNOFF (mm)
IVGTYP         1  0  DOMINANT VEGETATION CATEGORY (-)
ISLTYP         1  0  DOMINANT SOIL CATEGORY (-)
VEGFRA         1  0  VEGETATION FRACTION (-)
GRDFLX         1  0  GROUND HEAT FLUX (W m-2)
ACGRDFLX       1  0  ACCUMULATED GROUND HEAT FLUX (J m-2)
ACSNOM         1  0  ACCUMULATED MELTED SNOW (kg m-2)
SNOW           1  0  SNOW WATER EQUIVALENT (kg m-2)
SNOWH          1  0  PHYSICAL SNOW DEPTH (m)
CANWAT         1  0  CANOPY WATER (kg m-2)
SSTSK          1  0  SKIN SEA SURFACE TEMPERATURE (K)
COSZEN         1  0  COS of SOLAR ZENITH ANGLE (dimensionless)
LAI            1  0  LEAF AREA INDEX (m-2/m-2)
VAR            1  0  OROGRAPHIC VARIANCE (-)
MAPFAC_M       1  0  Map scale factor on mass grid (-)
MAPFAC_MX      1  0  Map scale factor on mass grid, x direction (-)
MAPFAC_MY      1  0  Map scale factor on mass grid, y direction (-)
MF_VX_INV      1  0  Inverse map scale factor on v-grid, x direction (-)
F              1  0  Coriolis sine latitude term (s-1)
E              1  0  Coriolis cosine latitude term (s-1)
SINALPHA       1  0  Local sine of map rotation (-)
COSALPHA       1  0  Local cosine of map rotation (-)
HGT            1  0  Terrain Height (m)
TSK            1  0  SURFACE SKIN TEMPERATURE (K)
RAINC          1  0  ACCUMULATED TOTAL CUMULUS PRECIPITATION (mm)
RAINSH         1  0  ACCUMULATED SHALLOW CUMULUS PRECIPITATION (mm)
RAINNC         1  0  ACCUMULATED TOTAL GRID SCALE PRECIPITATION (mm)
SNOWNC         1  0  ACCUMULATED TOTAL GRID SCALE SNOW AND ICE (mm)
GRAUPELNC      1  0  ACCUMULATED TOTAL GRID SCALE GRAUPEL (mm)
HAILNC         1  0  ACCUMULATED TOTAL GRID SCALE HAIL (mm)
CLDFRA        47  0  CLOUD FRACTION (-)
SWDOWN         1  0  DOWNWARD SHORT WAVE FLUX AT GROUND SURFACE (W m-2)
GLW            1  0  DOWNWARD LONG WAVE FLUX AT GROUND SURFACE (W m-2)
SWNORM         1  0  NORMAL SHORT WAVE FLUX AT GROUND SURFACE (SLOPE-DEPENDENT) (W m-2)
OLR            1  0  TOA OUTGOING LONG WAVE (W m-2)
ALBEDO         1  0  ALBEDO (-)
CLAT           1  0  COMPUTATIONAL GRID LATITUDE, SOUTH IS NEGATIVE (degree_north)
ALBBCK         1  0  BACKGROUND ALBEDO (-)
EMISS          1  0  SURFACE EMISSIVITY (-)
NOAHRES        1  0  RESIDUAL OF THE NOAH SURFACE ENERGY BUDGET (W m{-2})
TMN            1  0  SOIL TEMPERATURE AT LOWER BOUNDARY (K)
XLAND          1  0  LAND MASK (1 FOR LAND, 2 FOR WATER) (-)
UST            1  0  U* IN SIMILARITY THEORY (m s-1)
PBLH           1  0  PBL HEIGHT (m)
HFX            1  0  UPWARD HEAT FLUX AT THE SURFACE (W m-2)
QFX            1  0  UPWARD MOISTURE FLUX AT THE SURFACE (kg m-2 s-1)
LH             1  0  LATENT HEAT FLUX AT THE SURFACE (W m-2)
ACHFX          1  0  ACCUMULATED UPWARD HEAT FLUX AT THE SURFACE (J m-2)
ACLHF          1  0  ACCUMULATED UPWARD LATENT HEAT FLUX AT THE SURFACE (J m-2)
SNOWC          1  0  FLAG INDICATING SNOW COVERAGE (1 FOR SNOW COVER) (-)
SR             1  0  fraction of frozen precipitation (-)
LANDMASK       1  0  LAND MASK (1 FOR LAND, 0 FOR WATER) (-)
LAKEMASK       1  0  LAKE MASK (1 FOR LAKE, 0 FOR NON-LAKE) (-)
SST            1  0  SEA SURFACE TEMPERATURE (K)
SST_INPUT      1  0  SEA SURFACE TEMPERATURE FROM WRFLOWINPUT FILE (K)
pressure      47  0  Model pressure (hPa)
height        47  0  Model height (km)
tk            47  0  Temperature (K)
tc            47  0  Temperature (C)
ENDVARS
@ global String comment TITLE =  OUTPUT FROM WRF V3.8 MODEL
@ global String comment START_DATE = 2015-03-01_00:00:00
@ global String comment SIMULATION_START_DATE = 2015-03-01_00:00:00
@ global String comment WEST-EAST_GRID_DIMENSION =   214
@ global String comment SOUTH-NORTH_GRID_DIMENSION =   193
@ global String comment BOTTOM-TOP_GRID_DIMENSION =    48
@ global String comment DX =     12000.00
@ global String comment DY =     12000.00
@ global String comment SKEBS_ON =     0
@ global String comment SPEC_BDY_FINAL_MU =     1
@ global String comment USE_Q_DIABATIC =     0
@ global String comment GRIDTYPE = C
@ global String comment DIFF_OPT =     1
@ global String comment KM_OPT =     4
@ global String comment DAMP_OPT =     0
@ global String comment DAMPCOEF =         0.20
@ global String comment KHDIF =         0.00
@ global String comment KVDIF =         0.00
@ global String comment MP_PHYSICS =     3
@ global String comment RA_LW_PHYSICS =     1
@ global String comment RA_SW_PHYSICS =     1
@ global String comment SF_SFCLAY_PHYSICS =     1
@ global String comment SF_SURFACE_PHYSICS =     2
@ global String comment BL_PBL_PHYSICS =     1
@ global String comment CU_PHYSICS =     1
@ global String comment SF_LAKE_PHYSICS =     0
@ global String comment SURFACE_INPUT_SOURCE =     3
@ global String comment SST_UPDATE =     1
@ global String comment GRID_FDDA =     0
@ global String comment GFDDA_INTERVAL_M =     0
@ global String comment GFDDA_END_H =     0
@ global String comment GRID_SFDDA =     0
@ global String comment SGFDDA_INTERVAL_M =     0
@ global String comment SGFDDA_END_H =     0
@ global String comment HYPSOMETRIC_OPT =     2
@ global String comment USE_THETA_M =     0
@ global String comment SF_URBAN_PHYSICS =     0
@ global String comment SHCU_PHYSICS =     0
@ global String comment MFSHCONV =     0
@ global String comment FEEDBACK =     1
@ global String comment SMOOTH_OPTION =     0
@ global String comment SWRAD_SCAT =         1.00
@ global String comment W_DAMPING =     0
@ global String comment DT =        48.00
@ global String comment ADAPT_DT_START =        48.00
@ global String comment ADAPT_DT_MAX =        96.00
@ global String comment ADAPT_DT_MIN =        36.00
@ global String comment RADT =        30.00
@ global String comment BLDT =         0.00
@ global String comment CUDT =         5.00
@ global String comment AER_OPT =     0
@ global String comment SWINT_OPT =     0
@ global String comment AER_TYPE =     1
@ global String comment AER_AOD550_OPT =     1
@ global String comment AER_ANGEXP_OPT =     1
@ global String comment AER_SSA_OPT =     1
@ global String comment AER_ASY_OPT =     1
@ global String comment AER_AOD550_VAL =         0.12
@ global String comment AER_ANGEXP_VAL =         1.30
@ global String comment AER_SSA_VAL =         0.00
@ global String comment AER_ASY_VAL =         0.00
@ global String comment MOIST_ADV_OPT =     1
@ global String comment SCALAR_ADV_OPT =     1
@ global String comment TKE_ADV_OPT =     1
@ global String comment DIFF_6TH_OPT =     0
@ global String comment DIFF_6TH_FACTOR =         0.12
@ global String comment OBS_NUDGE_OPT =     0
@ global String comment BUCKET_MM =        -1.00
@ global String comment BUCKET_J =        -1.00
@ global String comment PREC_ACC_DT =         0.00
@ global String comment SF_OCEAN_PHYSICS =     0
@ global String comment ISFTCFLX =     0
@ global String comment ISHALLOW =     0
@ global String comment ISFFLX =     1
@ global String comment ICLOUD =     1
@ global String comment ICLOUD_CU =     0
@ global String comment TRACER_PBLMIX =     1
@ global String comment SCALAR_PBLMIX =     0
@ global String comment YSU_TOPDOWN_PBLMIX =     0
@ global String comment GRAV_SETTLING =     0
@ global String comment DFI_OPT =     0
@ global String comment SIMULATION_INITIALIZATION_TYPE = REAL-DATA CASE
@ global String comment WEST-EAST_PATCH_START_UNSTAG =     1
@ global String comment WEST-EAST_PATCH_END_UNSTAG =   213
@ global String comment WEST-EAST_PATCH_START_STAG =     1
@ global String comment WEST-EAST_PATCH_END_STAG =   214
@ global String comment SOUTH-NORTH_PATCH_START_UNSTAG =     1
@ global String comment SOUTH-NORTH_PATCH_END_UNSTAG =   192
@ global String comment SOUTH-NORTH_PATCH_START_STAG =     1
@ global String comment SOUTH-NORTH_PATCH_END_STAG =   193
@ global String comment BOTTOM-TOP_PATCH_START_UNSTAG =     1
@ global String comment BOTTOM-TOP_PATCH_END_UNSTAG =    47
@ global String comment BOTTOM-TOP_PATCH_START_STAG =     1
@ global String comment BOTTOM-TOP_PATCH_END_STAG =    48
@ global String comment GRID_ID =     2
@ global String comment PARENT_ID =     1
@ global String comment I_PARENT_START =   136
@ global String comment J_PARENT_START =    73
@ global String comment PARENT_GRID_RATIO =     3
@ global String comment CEN_LAT =        -5.02
@ global String comment CEN_LON =        34.90
@ global String comment TRUELAT1 =        -0.50
@ global String comment TRUELAT2 =         0.00
@ global String comment MOAD_CEN_LAT =        -0.50
@ global String comment STAND_LON =        20.00
@ global String comment POLE_LAT =        90.00
@ global String comment POLE_LON =         0.00
@ global String comment GMT =         0.00
@ global String comment JULYR =  2015
@ global String comment JULDAY =    60
@ global String comment MAP_PROJ =     1
@ global String comment MAP_PROJ_CHAR = Lambert Conformal
@ global String comment MMINLU = MODIFIED_IGBP_MODIS_NOAH
@ global String comment NUM_LAND_CAT =    21
@ global String comment ISWATER =    17
@ global String comment ISLAKE =    21
@ global String comment ISICE =    15
@ global String comment ISURBAN =    13
@ global String comment ISOILWATER =    14

 _____________
Peter  E. Tuju
Dar es Salaam
T A N Z A N I A
---------------------- 

    On Wednesday, May 25, 2016 7:04 PM, "gradsusr-request at gradsusr.org" <gradsusr-request at gradsusr.org> wrote:
 

 Send gradsusr mailing list submissions to
    gradsusr at gradsusr.org

To subscribe or unsubscribe via the World Wide Web, visit
    http://gradsusr.org/mailman/listinfo/gradsusr
or, via email, send a message with subject or body 'help' to
    gradsusr-request at gradsusr.org

You can reach the person managing the list at
    gradsusr-owner at gradsusr.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of gradsusr digest..."


Today's Topics:

  1. Re: Entire Grid Undefined, Why? (Peter Tuju)
  2. Re: Entire Grid Undefined, Why? (Peter Tuju)
  3. Re: Entire Grid Undefined, Why? (J43)
  4. Extract data from .ctl and .dat file (Usha Verma)


----------------------------------------------------------------------

Message: 1
Date: Tue, 24 May 2016 18:24:20 +0000 (UTC)
From: Peter Tuju <peterenos at ymail.com>
Subject: Re: [gradsusr] Entire Grid Undefined, Why?
To: <gradsusr at gradsusr.org>, <gradsusr at gradsusr.org>
Message-ID:
    <768615027.1983589.1464114260467.JavaMail.yahoo at mail.yahoo.com>
Content-Type: text/plain; charset="utf-8"

 blockquote, div.yahoo_quoted { margin-left: 0 !important; border-left:1px #715FFA solid !important; padding-left:1ex !important; background-color:white !important; } Dear all,?

 

I have to work with wrfout from seasonal model run to visualize the products. I successfully created a .ctl file to read in grads, but the problem Is that, I get ?"entire grid undefined " Why this and how to resolve it? For short time model run say 3 days works fine but for seasons I got stuck. Please help!?
'reinit''set display color white''open wrfout.ctl''set gxout shaded''d t2'
Entire Grid Undefined
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20160524/09759fcc/attachment-0002.html 

------------------------------

Message: 2
Date: Tue, 24 May 2016 18:24:20 +0000 (UTC)
From: Peter Tuju <peterenos at ymail.com>
Subject: Re: [gradsusr] Entire Grid Undefined, Why?
To: <gradsusr at gradsusr.org>, <gradsusr at gradsusr.org>
Message-ID:
    <768615027.1983589.1464114260467.JavaMail.yahoo at mail.yahoo.com>
Content-Type: text/plain; charset="utf-8"

 blockquote, div.yahoo_quoted { margin-left: 0 !important; border-left:1px #715FFA solid !important; padding-left:1ex !important; background-color:white !important; } Dear all,?

 

I have to work with wrfout from seasonal model run to visualize the products. I successfully created a .ctl file to read in grads, but the problem Is that, I get ?"entire grid undefined " Why this and how to resolve it? For short time model run say 3 days works fine but for seasons I got stuck. Please help!?
'reinit''set display color white''open wrfout.ctl''set gxout shaded''d t2'
Entire Grid Undefined
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20160524/09759fcc/attachment-0003.html 

------------------------------

Message: 3
Date: Tue, 24 May 2016 22:24:13 +0200
From: J43 <webmaster at meteorologic.net>
Subject: Re: [gradsusr] Entire Grid Undefined, Why?
To: GrADS Users Forum <gradsusr at gradsusr.org>
Message-ID: <c2408947-b32c-f1fa-0f3e-7163c6cdbc60 at meteorologic.net>
Content-Type: text/plain; charset=windows-1252; format=flowed

Hi,

Can you send the CTL file ? have you got use a sdfopen function in a wrf 
netcdf output file ?



Le 24/05/2016 ? 20:24, Peter Tuju a ?crit :
> I have to work with wrfout from seasonal model run to visualize the 
> products. I successfully created a .ctl file to read in grads, but the 
> problem Is that, I get  "entire grid undefined " Why this and how to 
> resolve it? For short time model run say 3 days works fine but for 
> seasons I got stuck. Please help!



------------------------------

Message: 4
Date: Wed, 25 May 2016 15:26:20 +0530
From: Usha Verma <loukayaverma at gmail.com>
Subject: [gradsusr] Extract data from .ctl and .dat file
To: gradsusr at gradsusr.org
Message-ID:
    <CANfef=vizED3thvcuZpdQhoL0KiPrmQ-UWttrd5PkPUXjOaNJw at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Dear Users
>*I am using ARW post to create .ctl and .dat files for the GrADS.
*>*Now I want to extract some parameters from the .dat file for some particular
*>
*locations.**I am giving the .ctl file for your reference.dset ^dom3.dat
*>*options byteswapped
*>*undef 1.e30
*>*title OUTPUT FROM WRF V3.2.1 MODEL
*>*pdef 129 144 lcc 31.672 78.135 65.000 72.500 30.00000 10.00000
77.00000 9000.000
*>*9000.000
*>*xdef 331 linear 71.47070 0.04054054
*>*ydef 306 linear 25.33539 0.04054054
*>*zdef 19 levels
*>*1000.00000
*>*950.00000
*>*900.00000
*>*850.00000
*>*800.00000
*>*750.00000
*>*700.00000
*>*650.00000
*>*600.00000
*>*550.00000
*>*500.00000
*>*450.00000
*>*400.00000
*>*350.00000
*>*300.00000
*>*250.00000
*>*200.00000
*>*150.00000
*>*100.00000
*>*tdef 41 linear 00Z26OCT2010 180MN
*>*VARS 27
*>*LU_INDEX 1 0 LAND USE CATEGORY (-)
*>*U 19 0 x-wind component (m s-1)
*>*V 19 0 y-wind component (m s-1)
*>*W 19 0 z-wind component (m s-1)
*>*PH 19 0 perturbation geopotential (m2 s-2)
*>*PHB 19 0 base-state geopotential (m2 s-2)
*>*T 19 0 perturbation potential temperature (theta-t0) (K)
*>*MU 1 0 perturbation dry air mass in column (Pa)
*>*MUB 1 0 base state dry air mass in column (Pa)
*>*P 19 0 perturbation pressure (Pa)
*>*PB 19 0 BASE STATE PRESSURE (Pa)
*>*T2 1 0 TEMP at 2 M (K)
*>*TH2 1 0 POT TEMP at 2 M (K)
*>*PSFC 1 0 SFC PRESSURE (Pa)
*>*U10 1 0 U at 10 M (m s-1)
*>*V10 1 0 V at 10 M (m s-1)
*>*LANDMASK 1 0 LAND MASK (1 FOR LAND, 0 FOR WATER) (-)
*>*VEGFRA 1 0 VEGETATION FRACTION (-)
*>*SST 1 0 SEA SURFACE TEMPERATURE (K)
*>*HGT 1 0 Terrain Height (m)
*>*TSK 1 0 SURFACE SKIN TEMPERATURE (K)
*>*RAINC 1 0 ACCUMULATED TOTAL CUMULUS PRECIPITATION (mm)
*>*RAINNC 1 0 ACCUMULATED TOTAL GRID SCALE PRECIPITATION (mm)
*>*XLAT 1 0 LATITUDE, SOUTH IS NEGATIVE (degree_north)
*>*XLONG 1 0 LONGITUDE, WEST IS NEGATIVE (degree_east)
*>*TMN 1 0 SOIL TEMPERATURE AT LOWER BOUNDARY (K)
*>*PBLH 1 0 PBL HEIGHT (m)
*>

*ENDVARS*


*I am new in this field please suggest me how can i extract my data
from this file*




*Regards*

*Usha*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20160525/30b8857e/attachment-0001.html 

------------------------------

_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org
http://gradsusr.org/mailman/listinfo/gradsusr


End of gradsusr Digest, Vol 75, Issue 25
****************************************


  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20160530/0d7e2a01/attachment-0001.html 


More information about the gradsusr mailing list