NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.


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

[IDV #FDO-882941]: (Re-) Creating an IDV compatible netcdf point file



> Great. Thanks, Yuan. With your help and a few other tricks, I now have a
> working import. Here is a snapshot.
> 
> Thanks again for your help.
> 
> -Dave
> 

This is great, could you send me a bundle and data? ( or zidv)


Yuan
> address@hidden> wrote:
> 
> > > On more quick question, does the 'station_id' variable have to be a
> > > character?  Just curious.
> >
> > Yes, according to
> >
> >
> > http://cfconventions.org/Data/cf-conventions/cf-conventions-1.7/build/cf-conventions.html#idp9763584
> >
> >
> > Yuan
> > >
> > > On Mon, Jan 25, 2016 at 7:56 PM, David Gochis <address@hidden> wrote:
> > >
> > > > Thanks Yuan.  Is there an nco command for the operation to change the
> > > > dimension of recNum as you propose?
> > > >
> > > > I think I can create a stationid variable that will work.
> > > >
> > > > -dave
> > > >
> > > > address@hidden> wrote:
> > > >
> > > >> > > Hi Yuan (or other),
> > > >> > >
> > > >> > > So per our phone conversation I have added in a time_observation
> > > >> variable
> > > >> > > into the netcdf file and assigned values of 0 to that variable to
> > > >> indicate
> > > >> > > that the output in the file is valid at the time listed in the
> > units
> > > >> > > attribute of "seconds since 2015-10-30 00:00 UTC".
> > > >> > >
> > > >> > > The problem now is that IDV will not load the file now whereas
> > > >> before, it
> > > >> > > would load the file albeit incorrectly.
> > > >> > >
> > > >> > > The updated file is attached here:
> > > >> > >
> > > >> >
> > > >> > Please change the dimension of recNum:
> > > >> >
> > > >> > isUnlimited="true"
> > > >> >
> > > >> >
> > > >>
> > > >> You also need the stationid variable:
> > > >>
> > > >> char station_id(station=2667754, id_len=11);
> > > >>       :long_name = "Station id";
> > > >>
> > > >>
> > > >> Yuan
> > > >> > Yuan
> > > >> > >
> > > >> > > Do you have any further suggestions??
> > > >> > > 201510010000.CHRTOUT_DOMAIN1_test3.nc
> > > >>
> > https://drive.google.com/a/ucar.edu/file/d/0B27jTgncDiX1aWVHMTVRVEZ1VTA/view?usp=drive_web
> > > >> >
> > > >> > > ?
> > > >> > >
> > > >> > > On Mon, Jan 25, 2016 at 5:21 PM, David Gochis <address@hidden>
> > > >> wrote:
> > > >> > >
> > > >> > > > Much thanks. Look forward to learning where I stumbled.
> > > >> > > >
> > > >> > > > -Dave
> > > >> > > >
> > > >> > > > address@hidden> wrote:
> > > >> > > >
> > > >> > > >> Dave,
> > > >> > > >>
> > > >> > > >> Over time, I have gotten pretty good at fixing ppls netCDF
> > files
> > > >> and
> > > >> > > >> making them
> > > >> > > >> CF compliant. I'll get back to you shortly -- hopefully in the
> > > >> next day
> > > >> > > >> or two.
> > > >> > > >>
> > > >> > > >> The fact that you had it working before is promising and
> > hopefully
> > > >> just
> > > >> > > >> requires
> > > >> > > >> a few tweaks.
> > > >> > > >>
> > > >> > > >> Best,
> > > >> > > >>
> > > >> > > >> Unidata IDV Support
> > > >> > > >>
> > > >> > > >> > IDV Support,
> > > >> > > >> >
> > > >> > > >> > I have been using IDV for some time to visualize streamflow
> > data
> > > >> from
> > > >> > > >> our
> > > >> > > >> > hydro model (WRF-Hydro).  We have, in the past created a
> > > >> working, point
> > > >> > > >> > netcdf data file that allows us to visualize streamflow at
> > > >> various
> > > >> > > >> points
> > > >> > > >> > in a model domain using the file (
> > > >> > > >> 201511190000.CHRTOUT_DOMAIN2_working.nc)
> > > >> > > >> > below.
> > > >> > > >> >
> > > >> > > >> > As part of a larger modeling project we have created a new
> > > >> output file
> > > >> > > >> > which had to strip out a lot of the supplemental, redundant
> > data
> > > >> in our
> > > >> > > >> > existing files for native model output. I have been
> > attempting to
> > > >> > > >> re-create
> > > >> > > >> > the supporting data and proper format from the working file
> > as a
> > > >> model
> > > >> > > >> post
> > > >> > > >> > process.  Unfortunately, I have not been able to successfully
> > > >> recreate
> > > >> > > >> the
> > > >> > > >> > proper structure yet and am stumped at the format in the
> > file ?
> > > >> > > >> > 201510010000.CHRTOUT_DOMAIN1_test1_not_working.nc
> > > >> > > >>
> > > >>
> > https://drive.google.com/a/ucar.edu/file/d/0B27jTgncDiX1eU9DT2RqSllkUDg/view?usp=drive_web
> > > >> > > >> >
> > > >> > > >> > ??
> > > >> > > >> > 201511190000.CHRTOUT_DOMAIN2_working.nc
> > > >> > > >>
> > > >>
> > https://drive.google.com/a/ucar.edu/file/d/0B27jTgncDiX1UG5ieVBLTjdnWkk/view?usp=drive_web
> > > >> > > >> >
> > > >> > > >> > ?(201510010000.CHRTOUT_DOMAIN1_not working).  I thought I
> > had the
> > > >> > > >> necessary
> > > >> > > >> > information in this file to load into IDV but its clear I do
> > > >> not. The
> > > >> > > >> file
> > > >> > > >> > will load, but instead of displaying one time at multiple
> > lat/lon
> > > >> > > >> > locations, this file attempts to have several times at a
> > single
> > > >> latitude
> > > >> > > >> > band at a time.
> > > >> > > >> >
> > > >> > > >> > Can you advise on what the problem is with the 'not_working'
> > > >> file and
> > > >> > > >> how I
> > > >> > > >> > can alter it to create an IDV compatible, single time,
> > multiple
> > > >> location
> > > >> > > >> > display?  BTW, if it is easier, I'm happy to walk over to FL4
> > > >> from FL2
> > > >> > > >> to
> > > >> > > >> > discuss.
> > > >> > > >> >
> > > >> > > >> > Thanks,
> > > >> > > >> > Dave Gochis
> > > >> > > >> >
> > > >> > > >> >
> > > >> > > >>
> > > >> > > >>
> > > >> > > >> Ticket Details
> > > >> > > >> ===================
> > > >> > > >> Ticket ID: FDO-882941
> > > >> > > >> Department: Support IDV
> > > >> > > >> Priority: Normal
> > > >> > > >> Status: Open
> > > >> > > >>
> > > >> > > >>
> > > >> > > >
> > > >> > >
> > > >> > >
> > > >>
> > > >> Ticket Details
> > > >> ===================
> > > >> Ticket ID: FDO-882941
> > > >> Department: Support IDV
> > > >> Priority: Normal
> > > >> Status: Open
> > > >>
> > > >>
> > > >
> > >
> > >
> >
> > Ticket Details
> > ===================
> > Ticket ID: FDO-882941
> > Department: Support IDV
> > Priority: Normal
> > Status: Closed
> >
> >
> 
> 


Ticket Details
===================
Ticket ID: FDO-882941
Department: Support IDV
Priority: Normal
Status: Closed