[Thread Prev][Thread Next][Index]

Re: Error reading DODS URL



Hi Mark,
There's a limit on the length of a dataset name in Ferret,  which is 256
characters, including the constraints.  If you use fewer constraint expressions,
the DODS access works fine.  Probably the simplest way around this is
to specify the DODS file  name and then use Ferret commands to winnow
down the data you actually request.

Ansley

Mark A Ohrenschall wrote:

> Hello,
>
> I'm getting an error trying to read a DODS data set with (numerous) constraints using ferret 5.4 (I'm splitting the long URL line below so I can send this email):
>
> yes? use
> "http://motherlode.ucar.edu/cgi-bin/dods/DODS-3.2.1/nph-dods/dods/model/2003050201_ruc.nc?reftime[0:1:4],valtime[0:1:4],datetime[0:1:4][0:1:20],valtime_offset[0:1:4],forecasttime[0:1:4][0:1:20],level[0:1:18],lpdg_bot[0:1:2],lpdg_top[0:1:2],fhg[0:1:1],model_id[0:1:0],nav_model[0:1:0][0:1:99],grid_type_code[0:1:0],grid_type[0:1:0][0:1:99],grid_name[0:1:0][0:1:99],grid_center[0:1:0],grid_number[0:1:0][0:1:0],x_dim[0:1:0][0:1:99],y_dim[0:1:0][0:1:99],
>
> Nx[0:1:0],Ny[0:1:0],La1[0:1:0],Lo1[0:1:0],Lov[0:1:0],Dx[0:1:],Dy[0:1:0],ProjFlag[0:1:0],Latin1[0:1:0],Latin2[0:1:0],SpLat[0:1:0],SpLon[0:1:0],ResCompFlag[0:1:0],omega[0:1:4][0:1:18][0:1:64][0:1:92],T[0:1:4][0:1:18][0:1:64][0:1:92],T_lpdg[0:1:4][0:1:2][0:1:64][0:1:92],T_fhg[0:1:4][0:1:1][0:1:64][0:1:92],u[0:1:4][0:1:18][0:1:64][0:1:92],u_trop[0:1:4][0:1:64][0:1:92],u_maxwind[0:1:4][0:1:64][0:1:92],u_lpdg[0:1:4][0:1:2][0:1:64][0:1:92],u_fhg[0:1:4][0:1:1][0:1:64][0:1:92],v[0:1:4][0:1:18][0:1:64][0:1:92],v_maxwind[0:1:4][0:1:64][0:1:92],v_trop[0:1:4][0:1:64][0:1:92]"
>
>  ** netCDF error: Invalid Argument
>  is this a CDF file ?
> yes? use "http://motherlode.ucar.edu/cgi-bin/dods/DODS-3.2.1/nph-dods/dods/model/2003050201_ruc.nc";
> yes?
>
> Is there something obviously wrong with this DODS URL where ferret is concerned (it works fine with IDV and a web browser).
>
> Thanks,
>
> Mark

--
Ansley Manke  Pacific Marine Environmental Laboratory  Seattle WA  (206)526-6246





[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement