Thread Subject: .xdr files

Subject: .xdr files

From: Jonathan W Smith

Date: 15 Mar, 2011 11:28:05

Message: 1 of 5

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?

Thanks
Jonathan

Subject: .xdr files

From: Steven_Lord

Date: 15 Mar, 2011 13:34:05

Message: 2 of 5



"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

Subject: .xdr files

From: Jonathan W Smith

Date: 15 Mar, 2011 19:15:24

Message: 3 of 5

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

Subject: .xdr files

From: John

Date: 16 Mar, 2011 12:56:04

Message: 4 of 5

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

Subject: .xdr files

From: Jonathan W Smith

Date: 18 May, 2011 22:14:03

Message: 5 of 5

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

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
xdr Jonathan W Smith 15 Mar, 2011 07:39:06
tcv Jonathan W Smith 15 Mar, 2011 07:39:06
netcdf Jonathan W Smith 15 Mar, 2011 07:39:06
loadxdr Jonathan W Smith 15 Mar, 2011 07:39:06
rssFeed for this Thread

Contact us at files@mathworks.com