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

Philippe Poilbarbe Philippe.Poilbarbe at cls.fr
Fri Jan 12 10:07:28 MST 2007


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 at cls.fr
	
Parc technologique du canal
8-10, Rue Hermes
31520 Ramonville St-Agne
France



More information about the netcdfgroup mailing list