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

[IDV #CAY-405864]: IDV info



Greetings Angela,

I had to make a few modification to make your file work, and I've done
so using NcML. NcML is an xml file that netCDF-java can read and use,
which means you can read it in the IDV.

Here are the issues I found:

1) The file was missing actual time and level variables (the dimensions
were there, just not the variables, and actual their actual value). Luckily,
you gave me enough info to create the time variable, and I assumed the
level variable is 'depth' and the depth was 0 m (you may need to edit the
ncml file to fix that!).

2) The latitude and longitude variables needed standard_name attributes
added to them.

3) The wave_height variable needed a udunits unit (m instead of meters),
it needed a coordinates attribute to point to the coordinate variables, and
it seemed like there was a missing value in your file, given that there were
values over land (0) - you may want to remove the missing_value attribute
if this is not the case.

Note that, because I had to actually create the time and depth variables,
you will need to modify the ncml file to work with new data file; also, if
you use a different file, you will need to change the line:

location="./hwave_4D.nc"

to point to the new file (it's on line 2 of the ncml file).

In order to use the ncml file, make sure it's in the same directory as the
datafile and load the ncml file into the IDV through the IDV Data Chooser
tab on the IDV Dashboard.

Let me know if you have any issues with this file!

Cheers,

Sean

> Hi Sean,
> 
> thank you so much for your help!
> I'm looking forward to hearing from you, then.
> Best Regards.
> 
> Angela
> 
> Il 23/10/2012 15:04, Unidata IDV Support ha scritto:
> > Greetings Angela,
> >
> > Sorry for the delay. We are having our annual training workshop for the
> > next two weeks, and it's been quite busy around here. I did take a look
> > at your file and I was able to write some NcML to get it working in the
> > IDV. I will send instructions on how to do this during lunch today, but
> > I wanted to let you know that it's working now.
> >
> > Cheers,
> >
> > Sean
> >
> >
> >> Dear Support,
> >>
> >> on the 18/10, I have uploaded the sample netCDF file that I would like
> >> to represent via IDV, at the following link:
> >>
> >> http://motherlode.ucar.edu/repository/alias/idvupload
> >>
> >> Could you please, tell me if you received it, or consider the same file
> >> attached at the present e-mail?
> >> In consists of 4 time steps going from 10/03/2011, h: 0:00, to
> >> 10/03/2011, h: 9:00.
> >> The grid refers to the following latitude/longitude limits:
> >> 35 < latitude < 45 (degrees north)
> >> -6 < longitude < 9 (degrees east)
> >>
> >> Best Regards,
> >>
> >> Angela
> >>
> >>
> >>
> >> Il 17/10/2012 17:13, Unidata IDV Support ha scritto:
> >>> Greetings Angela,
> >>>
> >>> It's possible that you will need to modify the netCDF file with some basic
> >>> information. This can be done using NCML, an xml file that netCDF-Java
> >>> can read that will allow you to 'fix' the netCDF file without actually
> >>> re-writing it. Based on the changes made using NcML, you can modify
> >>> the program to write the proper attributes needed to allow the IDV (and
> >>> other software that follows the CF standards) to read your file without 
> >>> the
> >>> need for NcML. If you have a sample file, you may upload it to our support
> >>> area and I can try to write a basic NcML file that will point you in the 
> >>> right
> >>> direction and allow you to get things going in the IDV.
> >>>
> >>> http://motherlode.ucar.edu/repository/alias/idvupload
> >>>
> >>> Cheers!
> >>>
> >>> Sean
> >>>
> >>>> Dear Support,
> >>>>
> >>>> I have installed the IDV viewer on my computer, in order to open a
> >>>> netCDF file regarding meteorological data associated to a
> >>>> latitude/longitude defined points grid.
> >>>> I have read that IDV requires specific netCDF conventions, and I have
> >>>> tried to translate my generic netCDF file, for this application, but I
> >>>> cannot understand if these conventions refer to a specific library to be
> >>>> installed or just to some instructions to be listed on the fortran
> >>>> program which generated the netCDF dataset.
> >>>> Could you please explain to me how to deal with it, or just send me a
> >>>> fortran source for an example netCDF dataset which runs on IDV?
> >>>> Thank you in advance for your help.
> >>>>
> >>>> Best Regards,
> >>>>
> >>>> Angela
> >>>>
> >>>> --
> >>>>
> >>>> *Ing. Angela Pomaro*
> >>>>
> >>>> *C+P ENGINEERS
> >>>> Studio di Ingegneria Comerlati | Pomaro*
> >>>>
> >>>> Via A. Mantegna 2 35040 Sant'Urbano | Padova
> >>>> Via Valpolicella 86 37029 San Pietro in Cariano | Verona
> >>>>
> >>>> T: +39 340 2569232 | F: +39 045 6831950
> >>>>
> >>>> *www.cp-engineers.com*
> >>>> *_________________________________________________*
> >>>>
> >>>>
> >>>>
> >>> Ticket Details
> >>> ===================
> >>> Ticket ID: CAY-405864
> >>> Department: Support IDV
> >>> Priority: Normal
> >>> Status: Open
> >>>
> >>>
> >>
> >> --
> >>
> >> *Ing. Angela Pomaro*
> >>
> >> *C+P ENGINEERS
> >> Studio di Ingegneria Comerlati | Pomaro*
> >>
> >> Via A. Mantegna 2 35040 Sant'Urbano | Padova
> >> Via Valpolicella 86 37029 San Pietro in Cariano | Verona
> >>
> >> T: +39 340 2569232 | F: +39 045 6831950
> >>
> >> *www.cp-engineers.com*
> >> *_________________________________________________*
> >>
> >>
> >>
> >
> > Ticket Details
> > ===================
> > Ticket ID: CAY-405864
> > Department: Support IDV
> > Priority: Normal
> > Status: Open
> >
> >
> 
> 
> --
> 
> *Ing. Angela Pomaro*
> 
> *C+P ENGINEERS
> Studio di Ingegneria Comerlati | Pomaro*
> 
> Via A. Mantegna 2 35040 Sant'Urbano | Padova
> Via Valpolicella 86 37029 San Pietro in Cariano | Verona
> 
> T: +39 340 2569232 | F: +39 045 6831950
> 
> *www.cp-engineers.com*
> *_________________________________________________*
> 
> 
> 

Ticket Details
===================
Ticket ID: CAY-405864
Department: Support IDV
Priority: Normal
Status: Open

Attachment: hwave_4D.ncml
Description: Binary data


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.