[gradsusr] Accessing geos-5 servers using GrADS and curl

avi kojokro kojokroavi at gmail.com
Sun Sep 29 08:45:33 EDT 2019


Hi, thanks for the replay.
The output of q config is the following:

> ga-> q config
> Config: v2.2.0 little-endian readline grib2 netcdf hdf4-sds hdf5
> opendap-grids,stn geotiff shapefile
> Grid Analysis and Display System (GrADS) Version 2.2.0
> Copyright (C) 1988-2017 by George Mason University
> GrADS comes with ABSOLUTELY NO WARRANTY
> See file COPYRIGHT for more information
>
>
>
> This build of GrADS has the following features:
>  -+- Byte order is LITTLE ENDIAN
>  -+- Athena Widget GUI DISABLED
>  -+- Command line editing ENABLED
>  -+- GRIB2 interface ENABLED  g2clib-1.6.0
>  -+- NetCDF interface ENABLED  netcdf-4.6.0
>  -+- OPeNDAP gridded data interface ENABLED
>  -+- OPeNDAP station data interface ENABLED  libgadap 2.0
>  -+- HDF4 interface ENABLED  hdf-4.2r13
>  -+- HDF5 interface ENABLED  hdf5-1.10.0
>  -+- KML contour output ENABLED
>  -+- GeoTIFF and KML/TIFF output ENABLED
>  -+- Shapefile interface ENABLED
> The 'q gxconfig' command returns Graphics configuration information
>

ldd:
"ldd grads" gives an error:

> a at a-VirtualBox:~$  ldd gards
> ldd: ./gards: No such file or directory
>

But giving ldd the path to grads gives the following:

> a at a-VirtualBox:~$ ldd '/usr/bin/grads'
> linux-vdso.so.1 (0x00007fff17dcd000)
> libgrib2c.so.0d => /usr/lib/x86_64-linux-gnu/libgrib2c.so.0d
> (0x00007f6edf2dc000)
> libmfhdfalt.so.0 => /usr/lib/libmfhdfalt.so.0 (0x00007f6edf0b6000)
> libdfalt.so.0 => /usr/lib/libdfalt.so.0 (0x00007f6edee13000)
> libudunits2.so.0 => /usr/lib/x86_64-linux-gnu/libudunits2.so.0
> (0x00007f6edebf6000)
> libhdf5_serial.so.100 => /usr/lib/x86_64-linux-gnu/libhdf5_serial.so.100
> (0x00007f6ede69e000)
> libnetcdf.so.13 => /usr/lib/x86_64-linux-gnu/libnetcdf.so.13
> (0x00007f6ede37c000)
> libgeotiff.so.2 => /usr/lib/x86_64-linux-gnu/libgeotiff.so.2
> (0x00007f6ede146000)
> libtiff.so.5 => /usr/lib/x86_64-linux-gnu/libtiff.so.5 (0x00007f6eddecf000)
> libshp.so.2 => /usr/lib/x86_64-linux-gnu/libshp.so.2 (0x00007f6eddcbe000)
> libdapclient.so.6 => /usr/lib/x86_64-linux-gnu/libdapclient.so.6
> (0x00007f6edda7d000)
> libdap.so.25 => /usr/lib/x86_64-linux-gnu/libdap.so.25 (0x00007f6edd6ed000)
> libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
> (0x00007f6edd4ce000)
> libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f6edd2ca000)
> libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f6edcf2c000)
> libreadline.so.7 => /lib/x86_64-linux-gnu/libreadline.so.7
> (0x00007f6edcce3000)
> libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
> (0x00007f6edc95a000)
> libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f6edc742000)
> libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f6edc351000)
> libpng16.so.16 => /usr/lib/x86_64-linux-gnu/libpng16.so.16
> (0x00007f6edc11f000)
> libopenjp2.so.7 => /usr/lib/x86_64-linux-gnu/libopenjp2.so.7
> (0x00007f6edbec9000)
> libjpeg.so.8 => /usr/lib/x86_64-linux-gnu/libjpeg.so.8 (0x00007f6edbc61000)
> libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f6edba44000)
> libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f6edb812000)
> libsz.so.2 => /usr/lib/x86_64-linux-gnu/libsz.so.2 (0x00007f6edb60f000)
> libhdf5_serial_hl.so.100 =>
> /usr/lib/x86_64-linux-gnu/libhdf5_serial_hl.so.100 (0x00007f6edb3ec000)
> libcurl-gnutls.so.4 => /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4
> (0x00007f6edb16f000)
> libproj.so.12 => /usr/lib/x86_64-linux-gnu/libproj.so.12
> (0x00007f6edaf06000)
> liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f6edace0000)
> libjbig.so.0 => /usr/lib/x86_64-linux-gnu/libjbig.so.0 (0x00007f6edaad2000)
> libxml2.so.2 => /usr/lib/x86_64-linux-gnu/libxml2.so.2 (0x00007f6eda711000)
> /lib64/ld-linux-x86-64.so.2 (0x00007f6edfaeb000)
> libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007f6eda4e7000)
> libaec.so.0 => /usr/lib/x86_64-linux-gnu/libaec.so.0 (0x00007f6eda2df000)
> libnghttp2.so.14 => /usr/lib/x86_64-linux-gnu/libnghttp2.so.14
> (0x00007f6eda0ba000)
> libidn2.so.0 => /usr/lib/x86_64-linux-gnu/libidn2.so.0 (0x00007f6ed9e9d000)
> librtmp.so.1 => /usr/lib/x86_64-linux-gnu/librtmp.so.1 (0x00007f6ed9c81000)
> libpsl.so.5 => /usr/lib/x86_64-linux-gnu/libpsl.so.5 (0x00007f6ed9a73000)
> libnettle.so.6 => /usr/lib/x86_64-linux-gnu/libnettle.so.6
> (0x00007f6ed983d000)
> libgnutls.so.30 => /usr/lib/x86_64-linux-gnu/libgnutls.so.30
> (0x00007f6ed94d8000)
> libgssapi_krb5.so.2 => /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2
> (0x00007f6ed928d000)
> libldap_r-2.4.so.2 => /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2
> (0x00007f6ed903b000)
> liblber-2.4.so.2 => /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2
> (0x00007f6ed8e2d000)
> libicuuc.so.60 => /usr/lib/x86_64-linux-gnu/libicuuc.so.60
> (0x00007f6ed8a76000)
> libunistring.so.2 => /usr/lib/x86_64-linux-gnu/libunistring.so.2
> (0x00007f6ed86f8000)
> libhogweed.so.4 => /usr/lib/x86_64-linux-gnu/libhogweed.so.4
> (0x00007f6ed84c4000)
> libgmp.so.10 => /usr/lib/x86_64-linux-gnu/libgmp.so.10 (0x00007f6ed8243000)
> libp11-kit.so.0 => /usr/lib/x86_64-linux-gnu/libp11-kit.so.0
> (0x00007f6ed7f14000)
> libtasn1.so.6 => /usr/lib/x86_64-linux-gnu/libtasn1.so.6
> (0x00007f6ed7d01000)
> libkrb5.so.3 => /usr/lib/x86_64-linux-gnu/libkrb5.so.3 (0x00007f6ed7a2b000)
> libk5crypto.so.3 => /usr/lib/x86_64-linux-gnu/libk5crypto.so.3
> (0x00007f6ed77f9000)
> libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2
> (0x00007f6ed75f5000)
> libkrb5support.so.0 => /usr/lib/x86_64-linux-gnu/libkrb5support.so.0
> (0x00007f6ed73ea000)
> libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f6ed71cf000)
> libsasl2.so.2 => /usr/lib/x86_64-linux-gnu/libsasl2.so.2
> (0x00007f6ed6fb4000)
> libgssapi.so.3 => /usr/lib/x86_64-linux-gnu/libgssapi.so.3
> (0x00007f6ed6d73000)
> libicudata.so.60 => /usr/lib/x86_64-linux-gnu/libicudata.so.60
> (0x00007f6ed51ca000)
> libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007f6ed4fc2000)
> libkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1
> (0x00007f6ed4dbe000)
> libheimntlm.so.0 => /usr/lib/x86_64-linux-gnu/libheimntlm.so.0
> (0x00007f6ed4bb5000)
> libkrb5.so.26 => /usr/lib/x86_64-linux-gnu/libkrb5.so.26
> (0x00007f6ed4928000)
> libasn1.so.8 => /usr/lib/x86_64-linux-gnu/libasn1.so.8 (0x00007f6ed4686000)
> libhcrypto.so.4 => /usr/lib/x86_64-linux-gnu/libhcrypto.so.4
> (0x00007f6ed4450000)
> libroken.so.18 => /usr/lib/x86_64-linux-gnu/libroken.so.18
> (0x00007f6ed423a000)
> libwind.so.0 => /usr/lib/x86_64-linux-gnu/libwind.so.0 (0x00007f6ed4011000)
> libheimbase.so.1 => /usr/lib/x86_64-linux-gnu/libheimbase.so.1
> (0x00007f6ed3e02000)
> libhx509.so.5 => /usr/lib/x86_64-linux-gnu/libhx509.so.5
> (0x00007f6ed3bb8000)
> libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
> (0x00007f6ed38af000)
> libcrypt.so.1 => /lib/x86_64-linux-gnu/libcrypt.so.1 (0x00007f6ed3677000)
>

ncdump gives the following output:

> a at a-VirtualBox:~$ ncdump
> https://goldsmr4.gesdisc.eosdis.nasa.gov/dods/M2TMNXSLV
>
> netcdf M2TMNXSLV {
> dimensions:
> lat = 361 ;
> lon = 576 ;
> time = 476 ;
> variables:
> double time(time) ;
> time:grads_dim = "t" ;
> time:grads_mapping = "linear" ;
> time:grads_size = "476" ;
> time:grads_min = "00z01jan1980" ;
> time:grads_step = "1mo" ;
> time:units = "days since 1-1-1 00:00:0.0" ;
> time:long_name = "time" ;
> time:minimum = "00z01jan1980" ;
> time:maximum = "00z01aug2019" ;
> time:resolution = 30.43579f ;
> double lat(lat) ;
> lat:grads_dim = "y" ;
> lat:grads_mapping = "linear" ;
> lat:grads_size = "361" ;
> lat:units = "degrees_north" ;
> lat:long_name = "latitude" ;
> lat:minimum = -90. ;
> lat:maximum = 90. ;
> lat:resolution = 0.5f ;
> double lon(lon) ;
> lon:grads_dim = "x" ;
> lon:grads_mapping = "linear" ;
> lon:grads_size = "576" ;
> lon:units = "degrees_east" ;
> lon:long_name = "longitude" ;
> lon:minimum = -180. ;
> lon:maximum = 179.375 ;
> lon:resolution = 0.625f ;
> float cldprs(time, lat, lon) ;
> cldprs:units = "pa" ;
> cldprs:_FillValue = 1.e+15f ;
> cldprs:missing_value = 1.e+15f ;
> cldprs:long_name = "cloud top pressure pa " ;
> float cldtmp(time, lat, lon) ;
> cldtmp:units = "k" ;
> cldtmp:_FillValue = 1.e+15f ;
> cldtmp:missing_value = 1.e+15f ;
> cldtmp:long_name = "cloud top temperature k " ;
> float disph(time, lat, lon) ;
> disph:units = "m" ;
> disph:_FillValue = 1.e+15f ;
> disph:missing_value = 1.e+15f ;
> disph:long_name = "zero plane displacement height m " ;
> float h1000(time, lat, lon) ;
> h1000:units = "m" ;
> h1000:_FillValue = 1.e+15f ;
> h1000:missing_value = 1.e+15f ;
> h1000:long_name = "height at 1000 mb m " ;
> float h250(time, lat, lon) ;
> h250:units = "m" ;
> h250:_FillValue = 1.e+15f ;
> h250:missing_value = 1.e+15f ;
> h250:long_name = "height at 250 hpa m " ;
> float h500(time, lat, lon) ;
> h500:units = "m" ;
> h500:_FillValue = 1.e+15f ;
> h500:missing_value = 1.e+15f ;
> h500:long_name = "height at 500 hpa m " ;
> float h850(time, lat, lon) ;
> h850:units = "m" ;
> h850:_FillValue = 1.e+15f ;
> h850:missing_value = 1.e+15f ;
> h850:long_name = "height at 850 hpa m " ;
> float omega500(time, lat, lon) ;
> omega500:units = "pa s-1" ;
> omega500:_FillValue = 1.e+15f ;
> omega500:missing_value = 1.e+15f ;
> omega500:long_name = "omega at 500 hpa pa s-1 " ;
> float pbltop(time, lat, lon) ;
> pbltop:units = "pa" ;
> pbltop:_FillValue = 1.e+15f ;
> pbltop:missing_value = 1.e+15f ;
> pbltop:long_name = "pbltop pressure pa " ;
> float ps(time, lat, lon) ;
> ps:units = "pa" ;
> ps:_FillValue = 1.e+15f ;
> ps:missing_value = 1.e+15f ;
> ps:long_name = "surface pressure pa " ;
> float q250(time, lat, lon) ;
> q250:units = "kg kg-1" ;
> q250:_FillValue = 1.e+15f ;
> q250:missing_value = 1.e+15f ;
> q250:long_name = "specific humidity at 250 hpa kg kg-1 " ;
> float q500(time, lat, lon) ;
> q500:units = "kg kg-1" ;
> q500:_FillValue = 1.e+15f ;
> q500:missing_value = 1.e+15f ;
> q500:long_name = "specific humidity at 500 hpa kg kg-1 " ;
> float q850(time, lat, lon) ;
> q850:units = "kg kg-1" ;
> q850:_FillValue = 1.e+15f ;
> q850:missing_value = 1.e+15f ;
> q850:long_name = "specific humidity at 850 hpa kg kg-1 " ;
> float qv10m(time, lat, lon) ;
> qv10m:units = "kg kg-1" ;
> qv10m:_FillValue = 1.e+15f ;
> qv10m:missing_value = 1.e+15f ;
> qv10m:long_name = "10-meter specific humidity kg kg-1 " ;
> float qv2m(time, lat, lon) ;
> qv2m:units = "kg kg-1" ;
> qv2m:_FillValue = 1.e+15f ;
> qv2m:missing_value = 1.e+15f ;
> qv2m:long_name = "2-meter specific humidity kg kg-1 " ;
> float slp(time, lat, lon) ;
> slp:units = "pa" ;
> slp:_FillValue = 1.e+15f ;
> slp:missing_value = 1.e+15f ;
> slp:long_name = "sea level pressure pa " ;
> float t10m(time, lat, lon) ;
> t10m:units = "k" ;
> t10m:_FillValue = 1.e+15f ;
> t10m:missing_value = 1.e+15f ;
> t10m:long_name = "10-meter air temperature k " ;
> float t250(time, lat, lon) ;
> t250:units = "k" ;
> t250:_FillValue = 1.e+15f ;
> t250:missing_value = 1.e+15f ;
> t250:long_name = "air temperature at 250 hpa k " ;
> float t2m(time, lat, lon) ;
> t2m:units = "k" ;
> t2m:_FillValue = 1.e+15f ;
> t2m:missing_value = 1.e+15f ;
> t2m:long_name = "2-meter air temperature k " ;
> float t2mdew(time, lat, lon) ;
> t2mdew:units = "k" ;
> t2mdew:_FillValue = 1.e+15f ;
> t2mdew:missing_value = 1.e+15f ;
> t2mdew:long_name = "dew point temperature at 2 m k " ;
> float t2mwet(time, lat, lon) ;
> t2mwet:units = "k" ;
> t2mwet:_FillValue = 1.e+15f ;
> t2mwet:missing_value = 1.e+15f ;
> t2mwet:long_name = "wet bulb temperature at 2 m k " ;
> float t500(time, lat, lon) ;
> t500:units = "k" ;
> t500:_FillValue = 1.e+15f ;
> t500:missing_value = 1.e+15f ;
> t500:long_name = "air temperature at 500 hpa k " ;
> float t850(time, lat, lon) ;
> t850:units = "k" ;
> t850:_FillValue = 1.e+15f ;
> t850:missing_value = 1.e+15f ;
> t850:long_name = "air temperature at 850 hpa k " ;
> float to3(time, lat, lon) ;
> to3:units = "dobsons" ;
> to3:_FillValue = 1.e+15f ;
> to3:missing_value = 1.e+15f ;
> to3:long_name = "total column ozone dobsons " ;
> float tox(time, lat, lon) ;
> tox:units = "kg m-2" ;
> tox:_FillValue = 1.e+15f ;
> tox:missing_value = 1.e+15f ;
> tox:long_name = "total column odd oxygen kg m-2 " ;
> float tqi(time, lat, lon) ;
> tqi:units = "kg m-2" ;
> tqi:_FillValue = 1.e+15f ;
> tqi:missing_value = 1.e+15f ;
> tqi:long_name = "total precipitable ice water kg m-2 " ;
> float tql(time, lat, lon) ;
> tql:units = "kg m-2" ;
> tql:_FillValue = 1.e+15f ;
> tql:missing_value = 1.e+15f ;
> tql:long_name = "total precipitable liquid water kg m-2 " ;
> float tqv(time, lat, lon) ;
> tqv:units = "kg m-2" ;
> tqv:_FillValue = 1.e+15f ;
> tqv:missing_value = 1.e+15f ;
> tqv:long_name = "total precipitable water vapor kg m-2 " ;
> float troppb(time, lat, lon) ;
> troppb:units = "pa" ;
> troppb:_FillValue = 1.e+15f ;
> troppb:missing_value = 1.e+15f ;
> troppb:long_name = "tropopause pressure based on blended estimate pa " ;
> float troppt(time, lat, lon) ;
> troppt:units = "pa" ;
> troppt:_FillValue = 1.e+15f ;
> troppt:missing_value = 1.e+15f ;
> troppt:long_name = "tropopause pressure based on thermal estimate pa " ;
> float troppv(time, lat, lon) ;
> troppv:units = "pa" ;
> troppv:_FillValue = 1.e+15f ;
> troppv:missing_value = 1.e+15f ;
> troppv:long_name = "tropopause pressure based on epv estimate pa " ;
> float tropq(time, lat, lon) ;
> tropq:units = "kg kg-1" ;
> tropq:_FillValue = 1.e+15f ;
> tropq:missing_value = 1.e+15f ;
> tropq:long_name = "tropopause specific humidity using blended tropp
> estimate kg kg-1 " ;
> float tropt(time, lat, lon) ;
> tropt:units = "k" ;
> tropt:_FillValue = 1.e+15f ;
> tropt:missing_value = 1.e+15f ;
> tropt:long_name = "tropopause temperature using blended tropp estimate k "
> ;
> float ts(time, lat, lon) ;
> ts:units = "k" ;
> ts:_FillValue = 1.e+15f ;
> ts:missing_value = 1.e+15f ;
> ts:long_name = "surface skin temperature k " ;
> float u10m(time, lat, lon) ;
> u10m:units = "m s-1" ;
> u10m:_FillValue = 1.e+15f ;
> u10m:missing_value = 1.e+15f ;
> u10m:long_name = "10-meter eastward wind m s-1 " ;
> float u250(time, lat, lon) ;
> u250:units = "m s-1" ;
> u250:_FillValue = 1.e+15f ;
> u250:missing_value = 1.e+15f ;
> u250:long_name = "eastward wind at 250 hpa m s-1 " ;
> float u2m(time, lat, lon) ;
> u2m:units = "m s-1" ;
> u2m:_FillValue = 1.e+15f ;
> u2m:missing_value = 1.e+15f ;
> u2m:long_name = "2-meter eastward wind m s-1 " ;
> float u500(time, lat, lon) ;
> u500:units = "m s-1" ;
> u500:_FillValue = 1.e+15f ;
> u500:missing_value = 1.e+15f ;
> u500:long_name = "eastward wind at 500 hpa m s-1 " ;
> float u50m(time, lat, lon) ;
> u50m:units = "m s-1" ;
> u50m:_FillValue = 1.e+15f ;
> u50m:missing_value = 1.e+15f ;
> u50m:long_name = "eastward wind at 50 meters m s-1 " ;
> float u850(time, lat, lon) ;
> u850:units = "m s-1" ;
> u850:_FillValue = 1.e+15f ;
> u850:missing_value = 1.e+15f ;
> u850:long_name = "eastward wind at 850 hpa m s-1 " ;
> float v10m(time, lat, lon) ;
> v10m:units = "m s-1" ;
> v10m:_FillValue = 1.e+15f ;
> v10m:missing_value = 1.e+15f ;
> v10m:long_name = "10-meter northward wind m s-1 " ;
> float v250(time, lat, lon) ;
> v250:units = "m s-1" ;
> v250:_FillValue = 1.e+15f ;
> v250:missing_value = 1.e+15f ;
> v250:long_name = "northward wind at 250 hpa m s-1 " ;
> float v2m(time, lat, lon) ;
> v2m:units = "m s-1" ;
> v2m:_FillValue = 1.e+15f ;
> v2m:missing_value = 1.e+15f ;
> v2m:long_name = "2-meter northward wind m s-1 " ;
> float v500(time, lat, lon) ;
> v500:units = "m s-1" ;
> v500:_FillValue = 1.e+15f ;
> v500:missing_value = 1.e+15f ;
> v500:long_name = "northward wind at 500 hpa m s-1 " ;
> float v50m(time, lat, lon) ;
> v50m:units = "m s-1" ;
> v50m:_FillValue = 1.e+15f ;
> v50m:missing_value = 1.e+15f ;
> v50m:long_name = "northward wind at 50 meters m s-1 " ;
> float v850(time, lat, lon) ;
> v850:units = "m s-1" ;
> v850:_FillValue = 1.e+15f ;
> v850:missing_value = 1.e+15f ;
> v850:long_name = "northward wind at 850 hpa m s-1 " ;
> float zlcl(time, lat, lon) ;
> zlcl:units = "m" ;
> zlcl:_FillValue = 1.e+15f ;
> zlcl:missing_value = 1.e+15f ;
> zlcl:long_name = "lifting condensation level m " ;
>
> // global attributes:
> :title = "MERRA-2 tavgM_2d_slv_Nx: 2d,Monthly
> Mean,Single-Level,Assimilation,Single-Level Diagnostics V5.12.4" ;
> :Conventions = "COARDS\n",
> "GrADS" ;
> :dataType = "Grid" ;
> :history = "Fri Sep 20 18:12:56 GMT 2019 : imported by GrADS Data Server
> 2.0" ;
> data:
>
> syntax error, unexpected WORD_WORD, expecting SCAN_ATTR or SCAN_DATASET or
> SCAN_ERROR
> context: HTTP^ Basic: Access denied.
> NetCDF: Authorization failure
> Location: file /build/netcdf-KQb2aQ/netcdf-4.6.0/ncdump/vardata.c; line 473
>  time =
>

Avi



‫בתאריך יום א׳, 29 בספט׳ 2019 ב-0:12 מאת ‪Jennifer M Adams‬‏ <‪
jadams21 at gmu.edu‬‏>:‬

> Can you share the output from ‘q config’ on your linux GrADS build? Also
> the output from ‘ldd grads’ (to see which libraries are linked with your
> build). Can you do an ‘ncdump’ on the URL?
> —Jennifer
>
>
>
> > On Sep 28, 2019, at 3:34 PM, avi kojokro <kojokroavi at gmail.com> wrote:
> >
> > Hi,
> > I was trying to connect to this site and it asked for login details. I
> have such details and I enter them correctly I am able to access the site.
> However, I couldn't access the same site using GrADS, probably because
> GrADS doesn't have the needed login details and consequently fails to
> authenticate.
> >
> > I talked with James Potemra about it and he suggested to try this.
> However, in step 5 I get the following error in grads:
> > Scanning self-describing file:
> https://goldsmr4.gesdisc.eosdis.nasa.gov/dods/M2TMNXSLV
> > syntax error, unexpected WORD_WORD, expecting SCAN_ATTR or SCAN_DATASET
> or SCAN_ERROR
> > context: HTTP^ Basic: Access denied.
> > sdfdeflev: nc_get_vara_double failed to read coordinate axis values
> >  NetCDF: Authorization failure
> > gadsdf: Failed to define X coordinate values.
> >
> >  I get it when trying on both windows and a linux VM.
> >
> > The .netrc file contains the following:
> >
> > machine urs.earthdata.nasa.gov
> > login xxxxxx
> > password yyyyyy
> > machine goldsmr4.gesdisc.eosdis.nasa.gov
> > login xxxxxx
> > password  yyyyyy
> >
> > The .dodsrc file contains the following, on windows. (James wrote it
> needs to contain "remote OPeNDAP server access information". If that is the
> cause of the issue, what is the format?):
> >
> > #HTTP.NETRC="C:\Users\OWNER\_netrc"
> > #HTTP.COOKIEJAR="C:\Users\OWNER\_urs_cookies"
> >
> > The cookie file, after curl is run, contains the following (on windows,
> the base64 was modified for this email):
> > # Netscape HTTP Cookie File
> > # https://curl.haxx.se/docs/http-cookies.html
> > # This file was generated by libcurl! Edit at your own risk.
> >
> > .earthdata.nasa.gov   TRUE    /       FALSE   1568399835
> urs_user_already_logged yes
> > #HttpOnly_urs.earthdata.nasa.gov      FALSE   /       FALSE
>  1568399835      _urs-gui_session        c5ad3b0da8eac8c3994ccda5c32a9fde
> > .nasa.gov     TRUE    /       FALSE   0       nasa_gesdisc_data_archive
> eaweafpPJ2eERpdaefeOMyf5dsdafeaJVtEIEWSDFefwaMuPFD36eaeadHYuzievmLDSFWSF1XoXHTnXB8duM3+gshSDESTUmExUadCqWy0SEOxKdafeP9f6bs51XC48BhZaMuqMfLbARWEFDS342MA==
> >
> > Has anyone encountered this issue and knows how to fix it?
> >  Avi
> > _______________________________________________
> > gradsusr mailing list
> > gradsusr at gradsusr.org
> >
> http://secure-web.cisco.com/1bQeMMlWTrtemP5PS8xwBvQ5PvlpDdxhTmeamjthaQL1KSX_suqM9mLjAe1DH50gQDkweUPbNndG3W4GgIlgGedmibG2QqmBYDVF6f-S4JpCJxckZ33lrzuZYTSA9fGDHfuprK0mX80kXzNDl4BDz8b-MyzZ2AqtZEohWtZIVGlXzPpwtG-K1TzBuptvqniiGFYsW6wFU-osyiLVFxkXi560q-r9SOPK6hnWip2mH57dvLktsobqawgQll4a_UBUD7sfQtkQDqNzysYwjmevLhJMshEuD8LZCiPZ--E2Uat8-XjM70-u7Rnw_XFjdy0ipf_ZHxmlZCTZuEQzJh3OjZZzn-p6DH-FaHYrdi7CaRQtxeHpJ1bL43pUXQpN5wCMxTynNm_Gxr7nuuqZXZfmVYDoVVLc7X_x5WZ3brnDdbgVs1ZMQ7DPiCvYRspOunAWT/http%3A%2F%2Fgradsusr.org%2Fmailman%2Flistinfo%2Fgradsusr
>
> --
> Jennifer Miletta Adams
> Center for Ocean-Land-Atmosphere Studies (COLA)
> George Mason University
>
>
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20190929/1857abed/attachment-0001.html>


More information about the gradsusr mailing list