[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error occurring in dods.dap.Parser

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.


  • Subject: Re: Error occurring in dods.dap.Parser
  • Date: Thu, 27 Jan 2005 10:26:48 +1100


Bingo. Known problem. Can you send me the DDS, or is it automatically generated (and thus it never actually makes it through the system)?

Or, can you send a list of all the filenames and variable names?

Here 'tis. Hope your system can handle long filenames! :)

The netCDF file gets generated on the fly based on the parameters you see encoded in the filename.

Does anyone know if this error related to java code, or the structure of a netCDF file, or the filename or what? To what is "line 58, column 9" referring - the .java file, the netCDF file, or something else entirely?


That's where in the DDS or DAS the parser is crapping out.

Cool. Looks like it doesn't like the '=' character in some places.
Dataset {
    Float64 time[time = 1];
    String seg_type[time = 1];
    Float32 lat[lat = 196];
    Float32 lon[lon = 180];
    Float32 lvl[lvl = 1];
    Grid {
     ARRAY:
        Int32 base_date[time = 1];
     MAPS:
        Float64 time[time = 1];
    } base_date;
    Grid {
     ARRAY:
        Int32 base_time[time = 1];
     MAPS:
        Float64 time[time = 1];
    } base_time;
    Grid {
     ARRAY:
        Int32 valid_date[time = 1];
     MAPS:
        Float64 time[time = 1];
    } valid_date;
    Grid {
     ARRAY:
        Int32 valid_time[time = 1];
     MAPS:
        Float64 time[time = 1];
    } valid_time;
    Grid {
     ARRAY:
        Float32 forc_hrs[time = 1];
     MAPS:
        Float64 time[time = 1];
    } forc_hrs;
    Grid {
     ARRAY:
        Int32 wrtn_date[time = 1];
     MAPS:
        Float64 time[time = 1];
    } wrtn_date;
    Grid {
     ARRAY:
        Int32 wrtn_time[time = 1];
     MAPS:
        Float64 time[time = 1];
    } wrtn_time;
    Grid {
     ARRAY:
        Float32 temperature[time = 1][lvl = 1][lat = 196][lon = 180];
     MAPS:
        Float64 time[time = 1];
        Float32 lvl[lvl = 1];
        Float32 lat[lat = 196];
        Float32 lon[lon = 180];
    } temperature;
} 
stream=ocea,param=200,DATE=20000101,TIME=0000,STEP=0,EXPVER=0oc7,CLASS=RD,TYPE=AN,NUMBER=0,METHOD=0,LEVELIST=7.000,LEVTYPE=DP,REPRES=LL,DOMAIN=G,salinity.nc;