Re: [netcdf-java] Various questions regarding netcdf-java

Hi Annabelle,

With respect to Sequences, did you take a look to this example?

http://www.unidata.ucar.edu/software/thredds/current/netcdf-java/reference/Cookbook.html#readSequences

Also the info about ArrayStructure would help you.

http://www.unidata.ucar.edu/software/thredds/current/netcdf-java/reference/StructureData.html

Antonio



On 20/10/17 17:22, annabelle.nasiri@xxxxxx wrote:
Hi,

I want to read some BUFR files. I selected netcdf-java for this task, since 
your library is still maintained and it seems to have a very good documentation.

While implementing my reader-class these questions occurred:

1. I examined my files with toolsUI-4.6.10.jar and noticed that all data is stored under a 
structure named "obs". What is "obs"?

2. Besides some variables, which are very easy to read, I also have a bunch of 
data, which is stored in a Sequence. Your example to read this data works very 
well, but I'm not able to read Sequences using a NetcdfDataset. Is there an
example available for this?
3. I know that some values contains a missing. This missing can be detected 
with your isMissing(value) function:
VariableDS valueRaw = (VariableDS)dataset.findVariable("obs." + name);
Boolean dataIsMissing = valueRaw.isMissing(???);
What should I set for ??? in the above example? I want to know whether or not 
valueRaw is missing.

Thanks

Kind regards

Annabelle

_______________________________________________
NOTE: All exchanges posted to Unidata maintained email lists are
recorded in the Unidata inquiry tracking system and made publicly
available through the web.  Users who post to any of the lists we
maintain are reminded to remove any personal information that they
do not want to be made public.


netcdf-java mailing list
netcdf-java@xxxxxxxxxxxxxxxx
For list information or to unsubscribe, visit: 
http://www.unidata.ucar.edu/mailing_lists/



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