Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

Problem with writing into Group

Hi all!

I'm using netcdf-java v. 2.2.18

I generate file structure like this:

netcdf 
c:/jboss-4.0.0/server/default/deploy/dpms.war/instances/RU_RIHMI_30_9.txt.nc {
 dimensions:
   strlen = 25;
   esimo:TEMP = 210;   // (has coord.var)
   esimo:platformId = 15;   // (has coord.var)
   esimo:Longitude = 15;   // (has coord.var)
   esimo:dateTime = 15;   // (has coord.var)
   esimo:DEPH = 210;   // (has coord.var)
   esimo:Latitude = 15;   // (has coord.var)

Group JBBC;141.619;2007-03-03T01:00:00;41.08 {
   variables:
     float esimo:platformId(esimo:platformId=15);
     float esimo:TEMP(esimo:TEMP=210);
     float esimo:Longitude(esimo:Longitude=15);
     float esimo:dateTime(esimo:dateTime=15);
     float esimo:DEPH(esimo:DEPH=210);
     float esimo:Latitude(esimo:Latitude=15);
 }
}


I try to write values into variables in group, but library throws an exception:
java.lang.IllegalArgumentException: NetcdfFileWriteable.write illegal variable 
name = JBBC;141.619;2007-03-03T01:00:00;41.08/esimo:DEPH

I check variable name with this method
ncFile.findVariable(varFullName) where varFullNames is 
JBBC;141.619;2007-03-03T01:00:00;41.08/esimo:DEPH and it's OK.

Could you help me with this problem?

Thank you
Best regards, Sergey               mailto:serg@xxxxxxxx

==============================================================================
To unsubscribe netcdf-java, 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 netcdf-java archives: