<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
What does your modified descriptor file look like? —Jennifer
<div><br>
<div>
<div>On Feb 29, 2016, at 3:17 PM, Jeff Duda <<a href="mailto:jeffduda319@gmail.com">jeffduda319@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div dir="ltr">
<div>That didn't work. I presume it is related to using the same array twice in the control file (time for both TDEF and EDEF). The problem is the data file only has four arrays, and I'm using all of them already:<br>
<br>
dimensions:<br>
lat = 741 ;<br>
lon = 800 ;<br>
time = 1 ;<br>
variables:<br>
double Reflectivity(time, lat, lon) ;<br>
Reflectivity:long_name = "Nexrad 2 radar dataset" ;<br>
Reflectivity:missing_value = -999. ;<br>
Reflectivity:units = "dBz" ;<br>
double lat(lat) ;<br>
lat:units = "degrees_north" ;<br>
lat:spacing = "0.015771162376211467" ;<br>
lat:datum = "NAD83 - NOAA Standard" ;<br>
double lon(lon) ;<br>
lon:units = "degrees_east" ;<br>
lon:spacing = "0.015771162376211467" ;<br>
lon:datum = "NAD83 - NOAA Standard" ;<br>
int time(time) ;<br>
time:units = "seconds since 1970-1-1" ;<br>
<br>
Am I just out of luck here?<br>
<br>
ga-> xdfopen obs_radar_ens.ctl <br>
Scanning Descriptor File: obs_radar_ens.ctl<br>
read_metadata: gaopfn failed (rc=-88888)<br>
gadsdf: Couldn't ingest SDF metadata.<br>
SDF Descriptor file obs_radar_ens.ctl was not successfully opened & parsed.<br>
<br>
</div>
Jeff<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Feb 29, 2016 at 1:29 PM, Jennifer M Adams <span dir="ltr">
<<a href="mailto:jadams21@gmu.edu" target="_blank">jadams21@gmu.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Jeff,
<div>You can use ‘time’ for the <SDF_dimension_name> in your edef statement — it won’t really matter what name you use as long as the name matches one of the dimensions in the file and you provide all the remaining needed metadata for the ensemble axis: <size>
names <list of names>.</div>
<div>—Jennifer</div>
<div><br>
</div>
<div><br>
<div>
<div>
<div class="h5">
<div>On Feb 29, 2016, at 2:07 PM, Jeff Duda <<a href="mailto:jeffduda319@gmail.com" target="_blank">jeffduda319@gmail.com</a>> wrote:</div>
<br>
</div>
</div>
<blockquote type="cite">
<div>
<div class="h5">
<div dir="ltr">I have a set of radar reflectivity netcdf files from multiple NEXRAD sites and over multiple times. I wish to display the maximum reflectivity over a window of time and over all radar sites. Here is the control file I wrote:<br>
<br>
dset /scratch/jdduda/%e_201006%<a href="http://ch_800_40.nc/" target="_blank">ch_800_40.nc</a><br>
options template<br>
CHSUB 1 1 13_1800<br>
CHSUB 2 2 13_1900<br>
CHSUB 3 3 13_2000<br>
CHSUB 4 4 13_2100<br>
CHSUB 5 5 13_2200<br>
CHSUB 6 6 13_2300<br>
CHSUB 7 7 14_0000<br>
xdef lon 800 linear -106.099096849811 0.015771162376<br>
ydef lat 741 linear 31.231419002562 0.015771162376<br>
tdef time 7 linear 18Z13JUN2010 1hr<br>
edef 2 names KAMA KDDC<br>
VARS 1<br>
Reflectivity=>z<br>
ENDVARS<br>
<br clear="all">
<div><br>
</div>
<div>Since the data files were created using the NCDC Weather Radar and Climate Toolkit, I'm using xdfopen to display the data. If I remove one of the dimensions (i.e., either time or radar site), then I can display a maximum (either across multiple sites at
one time or across multiple times at one site) by using the time dimension as a dummy dimension. However, I see from the xdfopen documentation that the syntax above for EDEF isn't acceptable as it is for full blown data that you'd need a complete control file
for. However, the data files themselves do not have an ensemble dimension, and therefore I don't know how to follow the indicated convention for the EDEF line:<br>
<br>
<code>edef <<i>SDF_dimension_name</i>> <br>
edef <<i>SDF_dimension_name</i>> <<em>size</em>><br>
edef <<i>SDF_dimension_name</i>> <<em>size</em>> names <<em>list of names</em>> <br>
<br>
</code></div>
<div><code><span style="font-family:arial,helvetica,sans-serif">Does anyone have any suggestions? I tried inserting an empty string (''), but that didn't work.</span><br>
<br>
</code></div>
<div><code><span style="font-family:arial,helvetica,sans-serif">Jeff Duda</span><br>
</code></div>
<div>-- <br>
<div>Jeff Duda<br>
Graduate research assistant<br>
University of Oklahoma School of Meteorology<br>
Center for Analysis and Prediction of Storms<br>
</div>
</div>
</div>
</div>
</div>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</blockquote>
</div>
<br>
<div>
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;">
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;">
<div style="font-size:12px">--</div>
<div style="font-size:12px">Jennifer Miletta Adams<br>
Center for Ocean-Land-Atmosphere Studies (COLA)<br>
George Mason University<br>
<br>
<br>
</div>
</div>
</div>
</div>
<br>
</div>
</div>
<br>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<div class="gmail_signature">Jeff Duda<br>
Graduate research assistant<br>
University of Oklahoma School of Meteorology<br>
Center for Analysis and Prediction of Storms<br>
</div>
</div>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
http://gradsusr.org/mailman/listinfo/gradsusr<br>
</blockquote>
</div>
<br>
<div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="font-size: 12px; orphans: 2; widows: 2;">--</div>
<div style="font-size: 12px; orphans: 2; widows: 2;">Jennifer Miletta Adams<br>
Center for Ocean-Land-Atmosphere Studies (COLA)<br>
George Mason University<br>
<br>
<br>
</div>
</div>
</div>
</div>
<br>
</div>
</body>
</html>