|
Steve,
The Aura data is in hdf4 and these .xdr were post processed. They can be read in idl but I am more familiar matlab.
Are you or anyone familiar with the TCV toolbox (see https://crppwww.epfl.ch/~moret/matlab/local.html#TCVtoolboxXDR). There seems to be a savexdr function there. Is this obsolete for MATLAB? The savexdr function is undefined for the version of MATLAB I am using.
Jonathan
"John " <com.works.math@evans.john> wrote in message <ilqc14$5qm$1@ginger.mathworks.com>...
> Jonathan, from where are you getting this file? The first part of the filename sounds like a data product from the eath observation system, specifically from the AURA satellite. I was under the impression that the AURA data products were either HDF4 or HDF5 files. Could you try either HDFINFO or HDF5INFO on it? Was the file post-processed out of HDF4 or HDF5 somehow?
>
> "Jonathan W Smith" wrote in message <ilodsc$qcd$1@ginger.mathworks.com>...
> > Steven and all,
> >
> > Thanks for your response. I tried the following and got an error message:
> > ____________________________
> > A = xmlread('OMI-Aura_L3-PROFOZ_2006m0520_1x1_destriped_Atlantic.xdr');
> > [Fatal Error] OMI-Aura_L3-PROFOZ_2006m0520_1x1_destriped_Atlantic.xdr:1:1: Content is not allowed in prolog.
> > ??? Java exception occurred:
> > org.xml.sax.SAXParseException: Content is not allowed in prolog.
> > at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
> > at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
> > at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
> >
> > Error in ==> xmlread at 98
> > parseResult = p.parse(fileName);
> > _____________________________
> >
> > Any other ideas or suggestions?
> >
> > Jonathan
> >
> >
> >
> >
> >
> > "Steven_Lord" <slord@mathworks.com> wrote in message <ilnprh$rqt$1@fred.mathworks.com>...
> > >
> > >
> > > "Jonathan W Smith" <jwsmith9@gmail.com> wrote in message
> > > news:ilnig5$1i2$1@fred.mathworks.com...
> > > > Hello
> > > > am using MATLAB version 2009. It does not seem to have the capability to
> > > > uread .xdr files. Is there something (like a tcv toolbox -> see site
> > > > http://crppwww.epfl.ch/~moret/matlab/local.html#XDRsavexdr) that can be
> > > > downloaded to give it this capability?
> > >
> > > This suggests that that file format is XML-based, so perhaps XMLREAD would
> > > be of use to you in creating a reader/parser for those files.
> > >
> > > http://filext.com/file-extension/XDR
> > >
> > > --
> > > Steve Lord
> > > slord@mathworks.com
> > > To contact Technical Support use the Contact Us link on
> > > http://www.mathworks.com
|