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

[IDV #WXP-261389]: removing unwanted fields from wrfout files, losing vertical scaling



> Hello IDV folks.
> 
> I am trying to trim unwanted fields from WRF files (over the ocean).
> For some reason I get "Unknown vertical coordinate with Unit , using linear 
> scale to Altitude".
> 
> Do you happen to know which of these fields is crucial?
> 
> MyWantedFields file doesnt work in cross section but wrfout files do:
> http://weather.rsmas.miami.edu:8080/repository/entry/show?entryid=d522b5ff-4f9c-4b07-bd0f-eea0da721437&output=thredds.catalog
> 
> 
> Here are the header fields that differ. None seem cooordinate related!
> (Oh maybe MU? )
> I keep fussing and fussing. Maybe you know the answer. Thanks!
> 

Brian,
     The wrfout is in sigma coordinate and there are special code in the netCDF 
Java library to deal with this kind of netCDF file which does not follow CF 
conventions. This is why everything works as if this is a good nc file. But 
after you trimmed some fields and saved as a nc output file, the original 
signature lost and now it is treated as regular nc file, and not surprise it is 
problematic.


Yuan
> 
> 
> diff MyWantedFields.nc.head AllFields.nc.head | grep descrip
> 
> >             LU_INDEX:description = "LAND USE CATEGORY" ;
> >             ZS:description = "DEPTHS OF CENTERS OF SOIL LAYERS" ;
> >             DZS:description = "THICKNESSES OF SOIL LAYERS" ;
> >             VAR_SSO:description = "variance of subgrid-scale orography" ;
> >             LAP_HGT:description = "Laplacian of orography" ;
> >             HFX_FORCE:description = "SCM ideal surface sensible heat flux" ;
> >             LH_FORCE:description = "SCM ideal surface latent heat flux" ;
> >             TSK_FORCE:description = "SCM ideal surface skin temperature" ;
> >             HFX_FORCE_TEND:description = "SCM ideal surface sensible heat 
> > flux tendency" ;
> >             LH_FORCE_TEND:description = "SCM ideal surface latent heat flux 
> > tendency" ;
> >             TSK_FORCE_TEND:description = "SCM ideal surface skin 
> > temperature tendency" ;
> >             MU:description = "perturbation dry air mass in column" ;
> >             NEST_POS:description = "-" ;
> >             RESM:description = "TIME WEIGHT CONSTANT FOR SMALL STEPS" ;
> >             QNCCN:description = "CCN Number concentration" ;
> >             QNCLOUD:description = "cloud water Number concentration" ;
> >             QNRAIN:description = "Rain Number concentration" ;
> >             SHDMAX:description = "ANNUAL MAX VEG FRACTION" ;
> >             SHDMIN:description = "ANNUAL MIN VEG FRACTION" ;
> >             SNOALB:description = "ANNUAL MAX SNOW ALBEDO IN FRACTION" ;
> >             TSLB:description = "SOIL TEMPERATURE" ;
> >             SMOIS:description = "SOIL MOISTURE" ;
> >             SH2O:description = "SOIL LIQUID WATER" ;
> >             SMCREL:description = "RELATIVE SOIL MOISTURE" ;
> >             SEAICE:description = "SEA ICE FLAG" ;
> >             XICEM:description = "SEA ICE FLAG (PREVIOUS STEP)" ;
> >             SFROFF:description = "SURFACE RUNOFF" ;
> >             UDROFF:description = "UNDERGROUND RUNOFF" ;
> >             IVGTYP:description = "DOMINANT VEGETATION CATEGORY" ;
> >             ISLTYP:description = "DOMINANT SOIL CATEGORY" ;
> >             VEGFRA:description = "VEGETATION FRACTION" ;
> >             GRDFLX:description = "GROUND HEAT FLUX" ;
> >             ACGRDFLX:description = "ACCUMULATED GROUND HEAT FLUX" ;
> >             SNOW:description = "SNOW WATER EQUIVALENT" ;
> >             SNOWH:description = "PHYSICAL SNOW DEPTH" ;
> >             CANWAT:description = "CANOPY WATER" ;
> >             LAI:description = "Leaf area index" ;
> >             F:description = "Coriolis sine latitude term" ;
> >             E:description = "Coriolis cosine latitude term" ;
> >             TSK:description = "SURFACE SKIN TEMPERATURE" ;
> >             RAINC:description = "ACCUMULATED TOTAL CUMULUS PRECIPITATION" ;
> >             SNOWNC:description = "ACCUMULATED TOTAL GRID SCALE SNOW AND 
> > ICE" ;
> >             GRAUPELNC:description = "ACCUMULATED TOTAL GRID SCALE GRAUPEL" ;
> >             HAILNC:description = "ACCUMULATED TOTAL GRID SCALE HAIL" ;
> >             DBZ10CM:description = "Radar reflectivity (lamda = 10 cm)" ;
> >             CLDFRA:description = "CLOUD FRACTION" ;
> >             SWDOWN:description = "DOWNWARD SHORT WAVE FLUX AT GROUND 
> > SURFACE" ;
> >             GLW:description = "DOWNWARD LONG WAVE FLUX AT GROUND SURFACE" ;
> >             SWNORM:description = "NORMAL SHORT WAVE FLUX AT GROUND SURFACE 
> > (SLOPE-DEPENDENT)" ;
> >             ACSWUPT:description = "ACCUMULATED UPWELLING SHORTWAVE FLUX AT 
> > TOP" ;
> >             ACSWUPTC:description = "ACCUMULATED UPWELLING CLEAR SKY 
> > SHORTWAVE FLUX AT TOP" ;
> >             ACSWDNT:description = "ACCUMULATED DOWNWELLING SHORTWAVE FLUX 
> > AT TOP" ;
> >             ACSWDNTC:description = "ACCUMULATED DOWNWELLING CLEAR SKY 
> > SHORTWAVE FLUX AT TOP" ;
> >             ACSWUPB:description = "ACCUMULATED UPWELLING SHORTWAVE FLUX AT 
> > BOTTOM" ;
> >             ACSWUPBC:description = "ACCUMULATED UPWELLING CLEAR SKY 
> > SHORTWAVE FLUX AT BOTTOM" ;
> >             ACSWDNB:description = "ACCUMULATED DOWNWELLING SHORTWAVE FLUX 
> > AT BOTTOM" ;
> >             ACSWDNBC:description = "ACCUMULATED DOWNWELLING CLEAR SKY 
> > SHORTWAVE FLUX AT BOTTOM" ;
> >             ACLWUPT:description = "ACCUMULATED UPWELLING LONGWAVE FLUX AT 
> > TOP" ;
> >             ACLWUPTC:description = "ACCUMULATED UPWELLING CLEAR SKY 
> > LONGWAVE FLUX AT TOP" ;
> >             ACLWDNT:description = "ACCUMULATED DOWNWELLING LONGWAVE FLUX AT 
> > TOP" ;
> >             ACLWDNTC:description = "ACCUMULATED DOWNWELLING CLEAR SKY 
> > LONGWAVE FLUX AT TOP" ;
> >             ACLWUPB:description = "ACCUMULATED UPWELLING LONGWAVE FLUX AT 
> > BOTTOM" ;
> >             ACLWUPBC:description = "ACCUMULATED UPWELLING CLEAR SKY 
> > LONGWAVE FLUX AT BOTTOM" ;
> >             ACLWDNB:description = "ACCUMULATED DOWNWELLING LONGWAVE FLUX AT 
> > BOTTOM" ;
> >             ACLWDNBC:description = "ACCUMULATED DOWNWELLING CLEAR SKY 
> > LONGWAVE FLUX AT BOTTOM" ;
> >             I_ACSWUPT:description = "BUCKET FOR UPWELLING SHORTWAVE FLUX AT 
> > TOP" ;
> >             I_ACSWUPTC:description = "BUCKET FOR UPWELLING CLEAR SKY 
> > SHORTWAVE FLUX AT TOP" ;
> >             I_ACSWDNT:description = "BUCKET FOR DOWNWELLING SHORTWAVE FLUX 
> > AT TOP" ;
> >             I_ACSWDNTC:description = "BUCKET FOR DOWNWELLING CLEAR SKY 
> > SHORTWAVE FLUX AT TOP" ;
> >             I_ACSWUPB:description = "BUCKET FOR UPWELLING SHORTWAVE FLUX AT 
> > BOTTOM" ;
> >             I_ACSWUPBC:description = "BUCKET FOR UPWELLING CLEAR SKY 
> > SHORTWAVE FLUX AT BOTTOM" ;
> >             I_ACSWDNB:description = "BUCKET FOR DOWNWELLING SHORTWAVE FLUX 
> > AT BOTTOM" ;
> >             I_ACSWDNBC:description = "BUCKET FOR DOWNWELLING CLEAR SKY 
> > SHORTWAVE FLUX AT BOTTOM" ;
> >             I_ACLWUPT:description = "BUCKET FOR UPWELLING LONGWAVE FLUX AT 
> > TOP" ;
> >             I_ACLWUPTC:description = "BUCKET FOR UPWELLING CLEAR SKY 
> > LONGWAVE FLUX AT TOP" ;
> >             I_ACLWDNT:description = "BUCKET FOR DOWNWELLING LONGWAVE FLUX 
> > AT TOP" ;
> >             I_ACLWDNTC:description = "BUCKET FOR DOWNWELLING CLEAR SKY 
> > LONGWAVE FLUX AT TOP" ;
> >             I_ACLWUPB:description = "BUCKET FOR UPWELLING LONGWAVE FLUX AT 
> > BOTTOM" ;
> >             I_ACLWUPBC:description = "BUCKET FOR UPWELLING CLEAR SKY 
> > LONGWAVE FLUX AT BOTTOM" ;
> >             I_ACLWDNB:description = "BUCKET FOR DOWNWELLING LONGWAVE FLUX 
> > AT BOTTOM" ;
> >             I_ACLWDNBC:description = "BUCKET FOR DOWNWELLING CLEAR SKY 
> > LONGWAVE FLUX AT BOTTOM" ;
> >             SWUPTC:description = "INSTANTANEOUS UPWELLING CLEAR SKY 
> > SHORTWAVE FLUX AT TOP" ;
> >             SWDNT:description = "INSTANTANEOUS DOWNWELLING SHORTWAVE FLUX 
> > AT TOP" ;
> >             SWDNTC:description = "INSTANTANEOUS DOWNWELLING CLEAR SKY 
> > SHORTWAVE FLUX AT TOP" ;
> >             SWUPB:description = "INSTANTANEOUS UPWELLING SHORTWAVE FLUX AT 
> > BOTTOM" ;
> >             SWUPBC:description = "INSTANTANEOUS UPWELLING CLEAR SKY 
> > SHORTWAVE FLUX AT BOTTOM" ;
> >             SWDNB:description = "INSTANTANEOUS DOWNWELLING SHORTWAVE FLUX 
> > AT BOTTOM" ;
> >             SWDNBC:description = "INSTANTANEOUS DOWNWELLING CLEAR SKY 
> > SHORTWAVE FLUX AT BOTTOM" ;
> >             LWUPT:description = "INSTANTANEOUS UPWELLING LONGWAVE FLUX AT 
> > TOP" ;
> >             LWUPTC:description = "INSTANTANEOUS UPWELLING CLEAR SKY 
> > LONGWAVE FLUX AT TOP" ;
> >             LWDNT:description = "INSTANTANEOUS DOWNWELLING LONGWAVE FLUX AT 
> > TOP" ;
> >             LWDNTC:description = "INSTANTANEOUS DOWNWELLING CLEAR SKY 
> > LONGWAVE FLUX AT TOP" ;
> >             LWUPB:description = "INSTANTANEOUS UPWELLING LONGWAVE FLUX AT 
> > BOTTOM" ;
> >             LWUPBC:description = "INSTANTANEOUS UPWELLING CLEAR SKY 
> > LONGWAVE FLUX AT BOTTOM" ;
> >             LWDNB:description = "INSTANTANEOUS DOWNWELLING LONGWAVE FLUX AT 
> > BOTTOM" ;
> >             LWDNBC:description = "INSTANTANEOUS DOWNWELLING CLEAR SKY 
> > LONGWAVE FLUX AT BOTTOM" ;
> >             OLR6:description = "TOA OUTGOING LONG WAVE 6th band" ;
> >             ALBBCK:description = "BACKGROUND ALBEDO" ;
> >             EMISS:description = "SURFACE EMISSIVITY" ;
> >             NOAHRES:description = "RESIDUAL OF THE NOAH SURFACE ENERGY 
> > BUDGET" ;
> >             TMN:description = "SOIL TEMPERATURE AT LOWER BOUNDARY" ;
> >             XLAND:description = "LAND MASK (1 FOR LAND, 2 FOR WATER)" ;
> >             UST:description = "U* IN SIMILARITY THEORY" ;
> >             PBLH:description = "PBL HEIGHT" ;
> >             ACHFX:description = "ACCUMULATED UPWARD HEAT FLUX AT THE 
> > SURFACE" ;
> >             ACLHF:description = "ACCUMULATED UPWARD LATENT HEAT FLUX AT THE 
> > SURFACE" ;
> >             SNOWC:description = "FLAG INDICATING SNOW COVERAGE (1 FOR SNOW 
> > COVER)" ;
> >             SR:description = "fraction of frozen precipitation" ;
> >             SAVE_TOPO_FROM_REAL:description = "1=original topo from 
> > real/0=topo modified by WRF" ;
> >             SEED1:description = "RANDOM SEED NUMBER 1" ;
> >             SEED2:description = "RANDOM SEED NUMBER 2" ;
> >             DLF2:description = "dq/dt due to export of cloud water into 
> > environment by shallow convection" ;
> >             CLDFRA_MP:description = "current time level cldfra for CAMMGMP 
> > microphysics" ;
> >             CLDFRA_MP_ALL:description = "current time level cldfra for 
> > CAMMGMP microphysics" ;
> >             CLDFRA_CONV:description = "current time level cldfra for 
> > CAMMGMP microphysics" ;
> >             CLDFRAI:description = "current time level cldfrai for CAMMGMP 
> > microphysics" ;
> >             CLDFRAL:description = "current time level cldfral for CAMMGMP 
> > microphysics" ;
> >             LANDMASK:description = "LAND MASK (1 FOR LAND, 0 FOR WATER)" ;
> 
> 
> 
> Brian Mapes
> address@hidden or address@hidden
> 
> 
> 
> 


Ticket Details
===================
Ticket ID: WXP-261389
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.