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.
> Ok - this worked. It was user error - when I was deleting caveData I was > typing /bin/rm -rf caveDATA (note DATA in all caps) what a stiff I am. So > finally when I did the RIGHT thing upon launch it works just fine. Glad it worked! > You had offered to show us how to set the default display settings (color > scheme/fill) for this product so if you have time we'd love to see that too. > > We were wondering -- the product we create is in m/s but were wondering if we > could have it converted under the hood by having the default display multiply > it by 2.24 -- if not that is ok. > Yeah, so there is some configuring you can play around with. First question, are you wanting to set this up for a contour, image, or both? Let's first start creating a site override. On EDEX, create the following directory: mkdir -p /awips2/edex/data/utility/common_static/site/OAX/styleRules/ Copy in the styleRule file (for a contour: d2dContourStyleRules.xml) (for an image: gridImageryStyleRules.xml) cp /awips2/edex/data/utility/common_static/base/styleRules/gridImageryStyleRules.xml /awips2/edex/data/utility/common_static/site/OAX/styleRules/ Edit the site override file: vi /awips2/edex/data/utility/common_static/site/OAX/styleRules/gridImageryStyleRules.xml And then you'll want an entry similar to this (notice you can just set the units to be "mph" and the conversion will happen for you, no need to multiply by 2.24). You can change the max/min, levelScale (LOG or LINEAR), which values you want labeled on the color bar, and which colortable. This just uses the default Grid/Gridded Data colormap, but if you have an existing colorscale you could create a new one based off that. <styleRule> <paramLevelMatches> <parameter>GSTX</parameter> <parameter>GSTF</parameter> </paramLevelMatches> <imageStyle> <interpolate>false</interpolate> <displayUnits>mph</displayUnits> <range scale="LINEAR"> <minValue>0</minValue> <maxValue>250</maxValue> </range> <defaultColormap>Grid/Gridded Data</defaultColormap> <colorbarLabeling> <values>0 10 25 50 100 250</values> </colorbarLabeling> </imageStyle> </styleRule> The d2dContourStyleRules is similar, but slightly different. You can look at the many examples for other products in that file and replicate something similar. Thanks, Tiffany Meyer AWIPS Lead Software Engineer UCAR-Unidata If you're interested, please feel free to fill out a survey about the support you receive: https://docs.google.com/forms/d/e/1FAIpQLSeDIkdk8qUMgq8ZdM4jhP-ubJPUOr-mJMQgxInwoAWoV5QcOw/viewform Ticket Details =================== Ticket ID: CWJ-540985 Department: Support AWIPS Priority: Critical 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.