NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Reading character variables through nc_get_var*_(text|schar|uchar)

Hello,

I am a bit confused concerning the functions nc_get_var*_(text|schar|uchar)
Specially for my case nc_get_vara_text, nc_get_vara_uchar, nc_get_vara_schar.

I thought they were all designed to read character variables returning the same
values in all cases (just casting the pointers).

But when I use nc_get_vara_uchar I have the following error:
«Attempt to convert between text & numbers»

Are the uchar/schar variants of the functions for numbers or do I
miss something?

Thanks.
Philippe
--
Philippe Poilbarbe      CLS Space Oceanography Division
mailto:Philippe.Poilbarbe@xxxxxx
        
Parc technologique du canal
8-10, Rue Hermes
31520 Ramonville St-Agne
France


==============================================================================
To unsubscribe netcdfgroup, visit:
http://www.unidata.ucar.edu/mailing-list-delete-form.html
==============================================================================


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