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

[IDV #ZKH-454824]: Get a list of choices from a data source



Hi Ha,

I cannot reproduce this error exactly because the data have been scoured off,
but this works OK:

data=
makeDataSource('http://thredds.ucar.edu/thredds/dodsC/grib/NCEP/GFS/Global_0p25deg/GFS_Global_0p25deg_20170104_0000.grib2','netcdf.grid')

Note the URL path is a bit different,

Best,

Unidata IDV Support

> Full Name: Ha Nguyen
> Email Address: address@hidden
> Organization: VIGMR - Vietnam
> Package Version: 5.1u2 build date:2015-04-27 16:07 UTC
> Operating System: Windows 7
> Hardware: Java: home: C:\Program Files (x86)\IDV_5.1u2\jre version: 1.7.0_51 
> j3d:1.6.0-pre9-daily-experimental daily
> Description of problem:
> 
> Dear IDV support team,
> 
> I am trying to get a list of choices from a data source (GFS) by using:
> -islfile  script.py
> 
> The link I copied from IDV catalogs (GFS) and I use functions
> makeDataSource, DataSource.getDataChoices
> 
> ""
> data= 
> makeDataSource('http://thredds.ucar.edu/thredds/catalog/grib/NCEP/GFS/Global_0p25deg/GFS_Global_0p25deg_20170103_0600.grib2/catalog.xml','DODS.GRID')
> choice=DataSource.getDataChoices(data)
> ""
> However it does not work:
> 
> ""  ...
> ERROR: There was an error loading the data:
> Error creating data source:DODS.GRID with: 
> http://thredds.ucar.edu/thredds/catalog/grib/NCEP/GFS/Global_0p25deg/GFS_Global_0p25deg_20170103_0600.grib2/catalog.xml
> Grid data source failed making data set: 
> dods://thredds.ucar.edu/thredds/catalog/grib/NCEP/GFS/Global_0p25deg/GFS_Global_0p25deg_20170103_0600.grib2/catalog.xml
> 
> HTTP/1.0 404 Not Found: 
> http://thredds.ucar.edu/thredds/catalog/grib/NCEP/GFS/Global_0p25deg/GFS_Global_0p25deg_20170103_0600.grib2/catalog.xml.dds
> opendap.dap.DAP2Exception: HTTP/1.0 404 Not Found: 
> http://thredds.ucar.edu/thredds/catalog/grib/NCEP/GFS/Global_0p25deg/GFS_Global_0p25deg_20170103_0600.grib2/catalog.xml.dds
> ...    ""
> 
> I tried with IDV 5.3 and IDV_5.1u2 and for several data sources but I
> could not. Could you please give me some hints?
> 
> Thank you very much!
> 
> 
> Full Name: Ha Nguyen
> Email Address: address@hidden
> Organization: VIGMR - Vietnam
> Package Version: 5.1u2 build date:2015-04-27 16:07 UTC
> Operating System: Windows 7
> Hardware: Java: home: C:\Program Files (x86)\IDV_5.1u2\jre version: 1.7.0_51 
> j3d:1.6.0-pre9-daily-experimental daily
> Description of problem:
> 
> Dear IDV support team,
> 
> I am trying to get a list of choices from a data source (GFS) by using:
> -islfile  script.py
> 
> The link I copied from IDV catalogs (GFS) and I use functions
> makeDataSource, DataSource.getDataChoices
> 
> ""
> data= 
> makeDataSource('http://thredds.ucar.edu/thredds/catalog/grib/NCEP/GFS/Global_0p25deg/GFS_Global_0p25deg_20170103_0600.grib2/catalog.xml','DODS.GRID')
> choice=DataSource.getDataChoices(data)
> ""
> However it does not work:
> 
> ""  ...
> ERROR: There was an error loading the data:
> Error creating data source:DODS.GRID with: 
> http://thredds.ucar.edu/thredds/catalog/grib/NCEP/GFS/Global_0p25deg/GFS_Global_0p25deg_20170103_0600.grib2/catalog.xml
> Grid data source failed making data set: 
> dods://thredds.ucar.edu/thredds/catalog/grib/NCEP/GFS/Global_0p25deg/GFS_Global_0p25deg_20170103_0600.grib2/catalog.xml
> 
> HTTP/1.0 404 Not Found: 
> http://thredds.ucar.edu/thredds/catalog/grib/NCEP/GFS/Global_0p25deg/GFS_Global_0p25deg_20170103_0600.grib2/catalog.xml.dds
> opendap.dap.DAP2Exception: HTTP/1.0 404 Not Found: 
> http://thredds.ucar.edu/thredds/catalog/grib/NCEP/GFS/Global_0p25deg/GFS_Global_0p25deg_20170103_0600.grib2/catalog.xml.dds
> ...    ""
> 
> I tried with IDV 5.3 and IDV_5.1u2 and for several data sources but I
> could not. Could you please give me some hints?
> 
> Thank you very much!
> 
> 


Ticket Details
===================
Ticket ID: ZKH-454824
Department: Support IDV
Priority: Normal
Status: Closed
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.