[netcdfgroup] netcdf4 --operating in classic

Henry Butowsky henryb at ntlworld.com
Tue Feb 26 06:32:50 MST 2008


HI All ,
    Have downloaded the latest snapshot -  netcdf-4.0-snapshot2008022202
  
   Its seems that the configure flag "--disable-oldident"    enables 
regular necdf3 names   and when it is not present the new classic name 
mode enabled  .   --enable-oldident seems to have no effect. 

 see below comments from the source code 

Regards Henry


In netcdf3.6.2  
/*  
* Verify that a name string is valid 
* CDL syntax, eg, all the characters are 
* alphanumeric, '-', '_', '+', or '.'. 
* Also permit ':', '@', '(', or ')' in names for chemists currently making  
* use of these characters, but don't document until ncgen and ncdump can  
* also handle these characters in names. 
*/ 
 
In netcdf4 running in classic mode  
/ 
* Verify that a name string is valid 
* CDL syntax. 
* The allowed syntax (in RE form) is: [a-zA-Z_][a-zA-Z_-.+@:()]* 
* The characters after '@' are allowed to support names for chemists. 
* This definition must be consistent with the one in ncgen.l. 
* If UTF8 is supported, then a multi-byte UTF8 character can occur 
* anywhere within an identifier. 
*/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.unidata.ucar.edu/mailing_lists/archives/netcdfgroup/attachments/20080226/06febf93/attachment.html 


More information about the netcdfgroup mailing list