This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
i dont understand your question > One question what is var in 2 > > > > -----Original Message----- > From: Unidata netCDF Java Support [mailto:address@hidden] > Sent: Tuesday, May 11, 2010 2:52 PM > To: Shakya, Dibya > Cc: address@hidden; Shakya, Dibya > Subject: [netCDFJava #UWT-369970]: some questions on opendap url support on > netcdf java api > > 1) Can you send us that particular hdf file, or a URL to it? We need to look > at it outside of the hyrax server. > > 2) The Hyrax server is placing the data inside of Structures. So you need to > look inside of those, eg: > > if (var instanceof Structure) { > Structure s = (Structure) var; > for (Variable v : s.getVariables()) > recurse(v); > } > > > thanks, > > John > > > Hi, > > > > There is no 4.2.2 so I was confused. > > I downloaded new netcdfAll-4.2.jar. > > As I mentioned in previous mail it still has following problem. > > > > Now the exception previously thrown is not thrown. But I cannot access the > > variables. > > I am using recursive functions to read all variables in file. > > > > Group root = ncfile.getRootGroup(); > > // read the variables > > List<Variable> var = root.getVariables(); > > for (int j = 0; j < var.size(); j++) { > > System.out.println(var.get(j).getName()); > > } > > // read the groups > > List<Group> sub_grps = root.getGroups(); > > for (int i = 0; i < sub_grps.size(); i++) { > > readGroup(sub_grps.get(i)); > > } > > > > When I use opendap url sub_grps.size() is 0 Whereas if I download the file > > and use it sub_grps.size() is 1 > > > > Thanks, > > Dibya > > > > -----Original Message----- > > From: Unidata netCDF Java Support [mailto:address@hidden] > > Sent: Monday, May 10, 2010 1:45 PM > > To: Shakya, Dibya > > Cc: address@hidden; Shakya, Dibya > > Subject: [netCDFJava #UWT-369970]: some questions on opendap url support on > > netcdf java api > > > > Our releases are always linked from the home page: > > > > http://www.unidata.ucar.edu/software/netcdf-java/ > > > > be sure to get the 4.2 release. > > > > > Can you provide me a link to download 4.2.2? > > > > > > Thanks, > > > Dibya > > > > > > -----Original Message----- > > > From: Unidata netCDF Java Support [mailto:address@hidden] > > > Sent: Tuesday, May 04, 2010 2:57 PM > > > To: Shakya, Dibya > > > Cc: address@hidden; Shakya, Dibya > > > Subject: [netCDFJava #UWT-369970]: some questions on opendap url support > > > on netcdf java api > > > > > > release 4.2.2 should fix this problem, please let us know. thanks > > > > > > John > > > > > > > we have not yet released a fixed version. we will let you know when its > > > > ready. > > > > > > > > > Hi, > > > > > > > > > > I am using netcdfAll-4.2.jar. > > > > > > > > > > Now the exception previously thrown is not thrown. But I cannot > > > > > access the variables. > > > > > I am using recursive functions to read all variables in file. > > > > > > > > > > Group root = ncfile.getRootGroup(); > > > > > // read the variables > > > > > List<Variable> var = root.getVariables(); > > > > > for (int j = 0; j < var.size(); j++) { > > > > > System.out.println(var.get(j).getName()); > > > > > } > > > > > // read the groups > > > > > List<Group> sub_grps = root.getGroups(); > > > > > for (int i = 0; i < sub_grps.size(); i++) { > > > > > readGroup(sub_grps.get(i)); > > > > > } > > > > > > > > > > When I use opendap url sub_grps.size() is 0 > > > > > Whereas if I download the file and use it sub_grps.size() is 1 > > > > > > > > > > Thanks, > > > > > Dibya > > > > > > > > > > -----Original Message----- > > > > > From: Unidata netCDF Java Support [mailto:address@hidden] > > > > > Sent: Friday, April 30, 2010 4:35 PM > > > > > To: Shakya, Dibya > > > > > Cc: address@hidden; Shakya, Dibya > > > > > Subject: [netCDFJava #UWT-369970]: some questions on opendap url > > > > > support on netcdf java api > > > > > > > > > > > Apparently we are due to release an alpha version > > > > > > of 4.2 today or Monday; the fixes should be in that. > > > > > > > > > > > > > > > > > > > > > > > > =Dennis Heimbigner > > > > > > Unidata > > > > > > > > > > > > > > > > should be able to release something on monday > > > > > > > > > > Ticket Details > > > > > =================== > > > > > Ticket ID: UWT-369970 > > > > > Department: Support netCDF Java > > > > > Priority: High > > > > > Status: Open > > > > > > > > > > > > > > > > > > > > > > > Ticket Details > > > =================== > > > Ticket ID: UWT-369970 > > > Department: Support netCDF Java > > > Priority: High > > > Status: Closed > > > > > > > > > > > > Ticket Details > > =================== > > Ticket ID: UWT-369970 > > Department: Support netCDF Java > > Priority: High > > Status: Closed > > > > > > > Ticket Details > =================== > Ticket ID: UWT-369970 > Department: Support netCDF Java > Priority: High > Status: Open > > Ticket Details =================== Ticket ID: UWT-369970 Department: Support netCDF Java Priority: High Status: Open