comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: reading netcdf-4 ubyte datatype
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: reading netcdf-4 ubyte datatype [message #74690 is a reply to message #74683] Fri, 28 January 2011 03:39 Go to previous messageGo to previous message
Fabzou is currently offline  Fabzou
Messages: 76
Registered: November 2010
Member
Hi,

Which version of IDL are you using?

IDL 7.1 does not support netCDF 4 files unless you use a patch for new
data formats (I think it is included in IDL 7.1.1 but I am not sure)

Fabz

On 01/28/2011 02:33 AM, alison wrote:
> Hi,
> I'm having trouble reading a netcdf-4 file with "ubyte" type data in
> it. I believe that "ubyte" is a valid netcdf-4 datatype (unsigned
> byte) and should just correspond to IDL "byte" type, but ncdf_varget
> tells me that datatype is "unknown'. I get this error msg:
>
> % NCDF_VARGET: File format error. Varid 5 has a unknown type
>
> I don't think it is a file format problem, as I can read this file
> just fine with Fortran, and it also passes the CF conventions checker
> cleanly. Does anyone know how to read the "ubyte" datatype from a
> netcdf-4 file using IDL?
> Thanks,
> Alison Walker
>
>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: automatically changing focus to x-window /command line
Next Topic: Coyote Graphics: cgPlot doesn't have /LoadCmd

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 09:49:23 PDT 2025

Total time taken to generate the page: 0.32197 seconds