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

[IDV #WCL-477622]: IDV - on data formats

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: [IDV #WCL-477622]: IDV - on data formats
  • Date: Mon, 07 Aug 2006 09:37:52 -0600

HP-

> Thank for all the information. There remains the McIDAS defaulting. Here
> on time slot worth of McIDAS AREA files with MSG data:
> 
> Mcidas_MSG1-SEVI-MSG15-0100-NA-20060731111241.HRV
> Mcidas_MSG1-SEVI-MSG15-0100-NA-20060731111241.IR108
> Mcidas_MSG1-SEVI-MSG15-0100-NA-20060731111241.IR120
> Mcidas_MSG1-SEVI-MSG15-0100-NA-20060731111241.IR134
> Mcidas_MSG1-SEVI-MSG15-0100-NA-20060731111241.IR16
> Mcidas_MSG1-SE2VI-MSG15-0100-NA-20060731111241.IR39
> Mcidas_MSG1-SEVI-MSG15-0100-NA-20060731111241.IR87
> Mcidas_MSG1-SEVI-MSG15-0100-NA-20060731111241.IR97
> Mcidas_MSG1-SEVI-MSG15-0100-NA-20060731111241.VIS6
> Mcid2as_MSG1-SEVI-MSG15-0100-NA-20060731111241.VIS8
> Mcidas_MSG1-SEVI-MSG15-0100-NA-20060731111241.WV62
> Mcidas_MSG1-SEVI-MSG15-0100-NA-20060731111241.WV73
> 
> The "Mcidas_MSG" might serve as the identfier for MSG data. the number
> folowing "MSG" will be 1/2/3/4 with the years. Riught now 1/2 are in
> orbit. Adding this selection would be nice, but it's not really a high
> priority.

Since it didn't get into the 2.0 release, here's what you can do
in the mean time.  Create a file called datasource.xml in your
~/.metapps/DefaultIdv directory with the following contents:

<?xml version="1.0"   encoding="ISO-8859-1"?>
<datasources>
  <datasource
     id="FILE.AREAFILE"
     factory="ucar.unidata.data.imagery.McIDASImageDataSource"
     
patterns=".*AREA....$,.*\.gempak\.images\.sat.*,.*goes8.*,.*\.area$,.*Mcidas_MSG.*"
     doesmultiples="true"
     fileselection="true"
     label="McIDAS AREA files">
  </datasource>
</datasources>

This will override the default pattern for the McIDAS AREA files (adding
on the .*Mcidas_MSG.*.  You could add on other patterns as well if you
want, separated by commas.

This has the added effect of putting McIDAS AREA files first in the
list under the Data Source Type widget (below I'm Feeling Lucky).

Don Murray

P.S.  I've attached datasource.xml to this message to save you some
typing. 

Ticket Details
===================
Ticket ID: WCL-477622
Department: Support IDV
Priority: Normal
Status: Open
<?xml version="1.0"   encoding="ISO-8859-1"?>
<datasources>
  <datasource
     id="FILE.AREAFILE"
     factory="ucar.unidata.data.imagery.McIDASImageDataSource"
     
patterns=".*AREA....$,.*\.gempak\.images\.sat.*,.*goes8.*,.*\.area$,.*Mcidas_MSG.*"
     doesmultiples="true"
     fileselection="true"
     label="McIDAS AREA files">
  </datasource>
</datasources>