Re: [idvdevelopers] Idv netcdf problem

  • To: "Maswood Hasan Mostafi" <mostafi@xxxxxxxxx>
  • Subject: Re: [idvdevelopers] Idv netcdf problem
  • From: "Tom Whittaker" <whittaker@xxxxxxxx>
  • Date: Tue, 29 Jul 2008 10:32:44 -0500
Maswood --

In the Data Choosers tab, open the "Data Source Type" list at the top
of the panel and scroll down to "grids".

Looking at your structure, you might need to make a couple of name
changes (although I'm not sure anymore)....like "t" might need to be
renamed "time" so the IDV recognizes that as time.   I"m not sure
about "z", but normally we use "altitude".  Also your "y" and "x"
should be renamed "lat" and "lon", and you probably need to add a
"coordinate" attribute for the grids.

Have a look at section 5.2 of the CF conventions:
<http://cf-pcmdi.llnl.gov/documents/cf-conventions/1.3/ch05s02.html>

tom

On Tue, Jul 29, 2008 at 10:19 AM, Maswood Hasan Mostafi
<mostafi@xxxxxxxxx> wrote:
> Hi Tom,
>
> Thanks for the quick reply. It seems the convention is CF but still causes
> problem.
>
> How to select "grids (netcdf, ...)". Which menu bar ?
>
> I have attached a header dump of a file. Original file size is 170 MB , so
> could not attach that.
>
>  Thanks again for the help.
>
> Maswood
>
> ======================================================
> netcdf C:\MamVisAD\EnviroData\Bathymetry\2\2 {
> dimensions:
>     t = 577 ;
>     z = 1 ;
>     y = 321 ;
>     x = 241 ;
> variables:
>     float t(t) ;
>         t:long_name = "time" ;
>         t:units = "days since 1984-1-1 00:00:00" ;
>     float z(z) ;
>         z:long_name = "depth" ;
>         z:units = "m" ;
>     float y(y) ;
>         y:long_name = "latitude" ;
>         y:units = "degrees_north" ;
>     float x(x) ;
>         x:long_name = "longitude" ;
>         x:units = "degrees_east" ;
>     float eastward_sea_water_velocity(t, z, y, x) ;
>         eastward_sea_water_velocity:long_name =
> "eastward_sea_water_velocity" ;
>         eastward_sea_water_velocity:standard_name =
> "eastward_sea_water_velocity" ;
>         eastward_sea_water_velocity:units = "m/s" ;
>         eastward_sea_water_velocity:_FillValue = 1.#QNAN00f ;
>         eastward_sea_water_velocity:add_offset = 0.f ;
>         eastward_sea_water_velocity:scale_factor = 1.f ;
>
> // global attributes:
>         :Conventions = "CF-1.0" ;
>         :title = "MERSEA_NATL_ANAL" ;
> }
> =================================================================
>
>
>
> On Mon, Jul 28, 2008 at 10:58 AM, Tom Whittaker <whittaker@xxxxxxxx> wrote:
>>
>> Generally, NetCDF files that are CF compliant will open and display
>> without difficulty.  Be sure to select the correct "type" (for
>> example, "grids (netcdf, ...)".  If that does not help, please send
>> along at least a header dump (ncdump -h) of the file -- or post the
>> file where we can have a look at it.
>>
>> tom
>>
>> On Mon, Jul 28, 2008 at 8:35 AM, Maswood Hasan Mostafi
>> <mostafi@xxxxxxxxx> wrote:
>> > Hi,
>> >
>> > I have problems of viewing netCDF file using IDV. Just trying to open
>> > the
>> > file using the software
>> > is not working.Is there any particular way to open netCDF file using IDV
>> > ?
>> >
>> > Thanks
>> >
>> > Maswood
>> > _______________________________________________
>> > idvdevelopers mailing list
>> > idvdevelopers@xxxxxxxxxxxxxxxx
>> > For list information, to unsubscribe, visit:
>> > http://www.unidata.ucar.edu/mailing_lists/
>> >
>> >
>>
>>
>>
>> --
>> Tom Whittaker
>> University of Wisconsin-Madison
>> Space Science & Engineering Center (SSEC)
>> Cooperative Institute for Meteorological Satellite Studies (CIMSS)
>> 1225 W. Dayton Street
>> Madison, WI 53706 USA
>> ph: +1 608 262 2759
>
>



-- 
Tom Whittaker
University of Wisconsin-Madison
Space Science & Engineering Center (SSEC)
Cooperative Institute for Meteorological Satellite Studies (CIMSS)
1225 W. Dayton Street
Madison, WI 53706 USA
ph: +1 608 262 2759


  • 2008 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the idvdevelopers archives: