[gradsusr] "concatenating" and xdfopen
Jeff Duda
jeffduda319 at gmail.com
Mon Feb 29 17:19:02 EST 2016
dset /scratch/jdduda/%e_201006%ch_800_40.nc
options template
CHSUB 1 1 13_1800
CHSUB 2 2 13_1900
CHSUB 3 3 13_2000
CHSUB 4 4 13_2100
CHSUB 5 5 13_2200
CHSUB 6 6 13_2300
CHSUB 7 7 14_0000
xdef lon 800 linear -106.099096849811 0.015771162376
ydef lat 741 linear 31.231419002562 0.015771162376
tdef time 7 linear 18Z13JUN2010 1hr
edef time 2 names KAMA KDDC
VARS 1
Reflectivity=>z
ENDVARS
On Mon, Feb 29, 2016 at 4:12 PM, Jennifer M Adams <jadams21 at gmu.edu> wrote:
> What does your modified descriptor file look like? —Jennifer
>
> On Feb 29, 2016, at 3:17 PM, Jeff Duda <jeffduda319 at gmail.com> wrote:
>
> 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:
>
> dimensions:
> lat = 741 ;
> lon = 800 ;
> time = 1 ;
> variables:
> double Reflectivity(time, lat, lon) ;
> Reflectivity:long_name = "Nexrad 2 radar dataset" ;
> Reflectivity:missing_value = -999. ;
> Reflectivity:units = "dBz" ;
> double lat(lat) ;
> lat:units = "degrees_north" ;
> lat:spacing = "0.015771162376211467" ;
> lat:datum = "NAD83 - NOAA Standard" ;
> double lon(lon) ;
> lon:units = "degrees_east" ;
> lon:spacing = "0.015771162376211467" ;
> lon:datum = "NAD83 - NOAA Standard" ;
> int time(time) ;
> time:units = "seconds since 1970-1-1" ;
>
> Am I just out of luck here?
>
> ga-> xdfopen obs_radar_ens.ctl
> Scanning Descriptor File: obs_radar_ens.ctl
> read_metadata: gaopfn failed (rc=-88888)
> gadsdf: Couldn't ingest SDF metadata.
> SDF Descriptor file obs_radar_ens.ctl was not successfully opened & parsed.
>
> Jeff
>
> On Mon, Feb 29, 2016 at 1:29 PM, Jennifer M Adams <jadams21 at gmu.edu>
> wrote:
>
>> Jeff,
>> 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>.
>> —Jennifer
>>
>>
>> On Feb 29, 2016, at 2:07 PM, Jeff Duda <jeffduda319 at gmail.com> wrote:
>>
>> 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:
>>
>> dset /scratch/jdduda/%e_201006%ch_800_40.nc
>> options template
>> CHSUB 1 1 13_1800
>> CHSUB 2 2 13_1900
>> CHSUB 3 3 13_2000
>> CHSUB 4 4 13_2100
>> CHSUB 5 5 13_2200
>> CHSUB 6 6 13_2300
>> CHSUB 7 7 14_0000
>> xdef lon 800 linear -106.099096849811 0.015771162376
>> ydef lat 741 linear 31.231419002562 0.015771162376
>> tdef time 7 linear 18Z13JUN2010 1hr
>> edef 2 names KAMA KDDC
>> VARS 1
>> Reflectivity=>z
>> ENDVARS
>>
>>
>> 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:
>>
>> edef <*SDF_dimension_name*>
>> edef <*SDF_dimension_name*> <*size*>
>> edef <*SDF_dimension_name*> <*size*> names <*list of names*>
>>
>> Does anyone have any suggestions? I tried inserting an empty string (''),
>> but that didn't work.
>>
>> Jeff Duda
>> --
>> Jeff Duda
>> Graduate research assistant
>> University of Oklahoma School of Meteorology
>> Center for Analysis and Prediction of Storms
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://gradsusr.org/mailman/listinfo/gradsusr
>>
>>
>> --
>> Jennifer Miletta Adams
>> Center for Ocean-Land-Atmosphere Studies (COLA)
>> George Mason University
>>
>>
>>
>>
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://gradsusr.org/mailman/listinfo/gradsusr
>>
>>
>
>
> --
> Jeff Duda
> Graduate research assistant
> University of Oklahoma School of Meteorology
> Center for Analysis and Prediction of Storms
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
> --
> Jennifer Miletta Adams
> Center for Ocean-Land-Atmosphere Studies (COLA)
> George Mason University
>
>
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
--
Jeff Duda
Graduate research assistant
University of Oklahoma School of Meteorology
Center for Analysis and Prediction of Storms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20160229/4bb46120/attachment-0001.html
More information about the gradsusr
mailing list