Re: Error in exporting Text to netcdf

Peter,

>Date: Fri, 14 Jan 2000 10:58:08 -0600
>From: "Peter X. Cao" <xcao@xxxxxxxxxxxxx>
>To: visad-list@xxxxxxxxxxxxx
>Subject: Error in exporting Text to netcdf

In the above message, you wrote:

> Saving Text into netcdf from visad Spreadsheet gives me the following error,
> 
> java.lang.IllegalArgumentException: Not an Array
>         at ucar.netcdf.Attribute.<init>(Attribute.java:106)
>         at
> visad.data.netcdf.out.DependentTextVar.myAttributes(DependentTextVar.java:62)
>         at
> visad.data.netcdf.out.DependentTextVar.<init>(DependentTextVar.java:47)
>         at visad.data.netcdf.out.VisADAdapter.visit(VisADAdapter.java:163)
>         at visad.data.netcdf.out.VisADAdapter.visit(Compiled Code)
>         at visad.data.netcdf.out.VisADAdapter.visit(VisADAdapter.java:225)
>         at visad.data.netcdf.out.VisADAdapter.visit(Compiled Code)
>         at visad.data.netcdf.out.VisADAdapter.<init>(VisADAdapter.java:68)
>         at visad.data.netcdf.Plain.save(Plain.java:86)
>         at visad.ss.BasicSSCell.saveData(BasicSSCell.java:1663)
>         at visad.ss.FancySSCell$3.run(FancySSCell.java:482)
>         at java.lang.Thread.run(Compiled Code)

Not every VisAD data object can be converted into a netCDF dataset.
What is the type of the VisAD data object that you're trying to save?

Regards,
Steve Emmerson   <http://www.unidata.ucar.edu>

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