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 #74682 is a reply to message #74679] Fri, 28 January 2011 09:44 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Alison writes:

> I am using IDL 8.0 for Linux. I also notice that if I write an IDL
> "byte" variable (which is unsigned) to a netcdf file, it is written as
> a netcdf "byte" type (signed), when it should be "ubyte" (unsigned).
> There doesn't appear to be any way to control the datatype which IDL
> is automatically choosing when reading/writing from netcdf file. Is
> there a way to represent my 8-bit unsigned data so that it is handled
> properly in both IDL and netcdf-4?

Do you have an example of such a file we can test with?

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[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: Sat Oct 11 15:44:42 PDT 2025

Total time taken to generate the page: 0.96238 seconds