Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

Re: [idvusers] Detecting Data Source Type in IDV 2.8

Hi,

  I tried IDV 2.8 and found out that it's not detecting OPeNDAP Grids
automatically when I use "I'm Feeling Lucky" in Data Source Type.
It prompts the "Adde Text" instead.  I haven't seen this problem in
the previous versions of IDV.

  To verify it, please try the following OPeNDAP Grid:

http://acdisc.sci.gsfc.nasa.gov/opendap/HDF-EOS5/Aura_OMI_Level3/OMTO3d.003/2010/OMI-Aura_L3-OMTO3d_2010m0101_v003-2010m0106t053032.he5

  Is there a new option in IDV 2.8 to make the automatic detection work?
The IDV uses string patterns to try to figure out what kind of data 
source a url or file is. It just isn't matching your url. The prompt for 
"Adde Text" does not indicate that the IDV thinks this is ADDE Text 
data. Rather, that data source type is just the first one in the list.
Attached is a plugin that you can install (copy to 
~/.unidata/idv/DefaultIdv/plugins or install it with the Plugins Manager 
under the Tools menu). This datasource.xml file just defines a new type 
- HDF-EOS5 data source, that just has the pattern: "HDF-EOS". Now, when 
you enter the above url with the plugin installed it will pick up on the 
pattern and create the right kind of data source automatically.
-Jeff

<?xml version="1.0" encoding="ISO-8859-1"?>
<datasources>
  <datasource
     id="hdfgrid"
     factory="ucar.unidata.data.grid.GeoGridDataSource"
     patterns="HDF-EOS"
     fileselection="true"
     doesmultiples="false"
     label="HDF-EOS5 Grid">
  </datasource>


</datasources>
  • 2010 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the idvusers archives: