Re: [idvdevelopers] IDV netCDF problem, can't be opened with IDV

Hi Maswood-

Maswood Hasan Mostafi wrote:
Thanks. I'll do that by today.

Do you know anyone who should I contact about opening 5.nc files or how to
change the z variables ?

The problem with 5.nc is that is it  missing the "positive" attribute
on z.  According to the CF docs:

"Other vertical coordinates must use the attribute positive which determines whether the direction of increasing coordinate value is up or down"

Also, the units for sea_water_potential_temperature are wrong. C is
Coulombs.  I should be celsius.

I've attached an NcML file that you can place in the same directory
as your 5.nc file.  That will add in the positive attribute to z
and fix the units.

Also, for your other files, you can try using the CDM validator:

http://motherlode.ucar.edu:8080/thredds/cdmValidate.html

which will show you some information on what might be wrong with the file.

Thanks to Tom and John Caron for their help.

Don

On Thu, Aug 7, 2008 at 2:09 PM, Tom Whittaker <whittaker@xxxxxxxx> wrote:

Before you Display the field, try reducing the number of points (in
the Field Selector, the lower right-hand panel, the "Stride" tab) --
try every 5th point or something like that.  After that, then create
the display.

Also, of course, you will need to change the "range" of the color
table -- since that -10738..2 value I assume is a bad data value.
Just right-click on the colorbar in the Control, etc.
+
I had a few minutes over lunch and made you a movie.  It uses every
5th point in your grid (although you might be able to get away with
every 4th or even 3rd).  You can pick up the file at:

<ftp://ftp.ssec.wisc.edu/pub/ssec/tomw/maswood.mov>

It is about 90MB and will be on the server for only a couple of days
(auto-purge is our policy).

I was not able to open 5.nc.  The NetCDF Tools do not find any "grids"
in the file, either.  Must have something to do with the 'z'
coordinate variable.  You'll have to get someone at Unidata who knows
about these things.

tom





On Thu, Aug 7, 2008 at 11:18 AM, Maswood Hasan Mostafi
<mostafi@xxxxxxxxx> wrote:
Hello Tom,

I am able to see the pic which I attached with this email.

Is it possible for you to upload the animation/movie through
"http://www.yousendit.com/ "
so that I can understand what the animation look like.


I tried the both version 2.5 and 2.6 nightly build after reducing the
memory
to 1200MB.And I think my graphics card installed properly though I'll
test
with other pc.

And are you able to open 5.nc file ?

Thanks

Maswood



--
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

_______________________________________________
idvdevelopers mailing list
idvdevelopers@xxxxxxxxxxxxxxxx
For list information, to unsubscribe, visit: http://www.unidata.ucar.edu/mailing_lists/

--
*************************************************************
Don Murray                               UCAR Unidata Program
dmurray@xxxxxxxxxxxxxxxx                        P.O. Box 3000
(303) 497-8628                              Boulder, CO 80307
http://www.unidata.ucar.edu/staff/donm
*************************************************************

<?xml version="1.0" encoding="UTF-8"?>
<netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2"; 
location="5.nc">
  <variable name="z">
    <attribute name="positive" value="down" />
  </variable>
  <variable name="sea_water_potential_temperature">
    <attribute name="units" value="Celsius" />
  </variable>
</netcdf>

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