<?xml version="1.0" encoding="UTF-8"?>
<!--?xml-stylesheet type="application/xml" href="ObsData.xsl"?-->
	<!--
		The ObsDataLocation element is the container for the complete metadata description
		of an observational dataset, in this case and image.
		It specifies the various required namespaces (for STC specifically STC and Xlink,
		and the location of the STC schema.
		ObsDataLocation contains two main components: ObservatoryLocation and
		ObservationLocation.
	-->
<ObsDataLocation xmlns="http://www.ivoa.net/xml/STC/stc-v1.30.xsd" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.ivoa.net/xml/STC/stc-v1.30.xsd http://www.ivoa.net/xml/STC/stc-v1.30.xsd">
		<!--
			The location of the observatory is specified by a set of spatial coordinates and
			an associated coordinate system - geodetic, in this case.
		-->
	<ObservatoryLocation id="KPNO">
		<AstroCoordSystem id="TT-GEOD-TOPO">
			<TimeFrame>
				<TimeScale>TT</TimeScale>
				<TOPOCENTER/>
			</TimeFrame>
			<SpaceFrame>
				<GEO_D/>
				<TOPOCENTER/>
				<SPHERICAL coord_naxes="3"/>
			</SpaceFrame>
		</AstroCoordSystem>
		<AstroCoords coord_system_id="TT-GEOD-TOPO">
			<Position3D>
				<Value3>
					<C1 pos_unit="deg">248.4056</C1>
					<C2 pos_unit="deg">31.9586</C2>
					<C3 pos_unit="m">2158</C3>
				</Value3>
			</Position3D>
		</AstroCoords>
	</ObservatoryLocation>
		<!--
			The observation's location and the volume it occupies in coordinate space
			is specified by a set of coordinates and their properties (errors, resolutions, etc.)
			and the area or interval covered in each coordinate - with the associated
			coordinate system.
		-->
	<ObservationLocation id="M81">
		<AstroCoordSystem id="TT-ICRS-WAVELENGTH-TOPO">
			<CoordFrame ucd="em..." id="brightness">
				<Name>Brightness</Name>
				<ScalarRefFrame>
					<Scale>1.0</Scale>
				</ScalarRefFrame>
				<CARTESIAN coord_naxes="1"/>
			</CoordFrame>
			<TimeFrame>
				<TimeScale>TT</TimeScale>
				<TOPOCENTER/>
			</TimeFrame>
			<SpaceFrame id="spaceFrame">
				<ICRS/>
				<TOPOCENTER/>
				<SPHERICAL coord_naxes="2"/>
			</SpaceFrame>
			<SpectralFrame>
				<TOPOCENTER/>
			</SpectralFrame>
		</AstroCoordSystem>
		<AstroCoords coord_system_id="TT-ICRS-WAVELENGTH-TOPO">
			<ScalarCoordinate unit="mJy/arcsec**2" frame_id="brightness">
				<Error>0.001</Error>
			</ScalarCoordinate>
			<Time unit="s">
				<TimeInstant>
					<ISOTime>2004-07-15T08:23:56</ISOTime>
				</TimeInstant>
				<Resolution>1000</Resolution>
				<PixSize>1000</PixSize>
			</Time>
			<Position2D unit="deg">
				<Value2 id="Center">
					<C1>148.88821</C1>
					<C2>69.06529</C2>
				</Value2>
				<Error2Radius>0.0003 </Error2Radius>
				<Resolution2>
					<C1>0.00025</C1>
					<C2>0.00025</C2>
				</Resolution2>
				<PixSize2>
					<C1>0.0001</C1>
					<C2>0.0001</C2>
				</PixSize2>
			</Position2D>
			<Spectral unit="Angstrom">
				<Value>4600</Value>
				<Resolution>400</Resolution>
				<PixSize>400</PixSize>
			</Spectral>
		</AstroCoords>
		<AstroCoordArea id="M81Image" coord_system_id="TT-ICRS-WAVELENGTH-TOPO">
			<CoordScalarInterval frame_id="brightness">
				<LoLimit>0.0</LoLimit>
				<HiLimit>10.0</HiLimit>
			</CoordScalarInterval>
			<TimeInterval>
				<StartTime>
					<ISOTime>2004-07-15T08:17:36</ISOTime>
				</StartTime>
				<StopTime>
					<ISOTime>2004-07-15T08:30:16</ISOTime>
				</StopTime>
			</TimeInterval>
			<Position2VecInterval unit="deg">
				<LoLimit2Vec>
					<C1>148.18821</C1>
					<C2>68.81529</C2>
				</LoLimit2Vec>
				<HiLimit2Vec>
					<C1>149.58821</C1>
					<C2>69.31529</C2>
				</HiLimit2Vec>
			</Position2VecInterval>
			<SpectralInterval unit="Angstrom">
				<LoLimit>4400</LoLimit>
				<HiLimit>4800</HiLimit>
			</SpectralInterval>
		</AstroCoordArea>
	</ObservationLocation>
		<!--
			The image is represented as a pixel array.
			The Pixel Space specifies the properties of this pixel array
			and the way it is related to the world coordinates specified above.
			It consists of a pixel coodinate system that defines the pixel axes
			and their transformation on the sky (WCS) and a pixel coordinate
			area that defines the arry's dimensions.
			Note the use of frame_id to tie pixel interval to the correct frame;
			in this case it is not strictly required since there is only one frame,
			but in the general case this is the mechanism used to avoid ambiguity.
		-->
	<PixelSpace>
		<PixelCoordSystem id="M81Pix">
			<PixelCoordFrame id="spacepix" axis1_order="1" axis2_order="2" ref_frame_id="spaceFrame">
				<Cart2DRefFrame projection="TAN">
					<Transform2 unit="deg">
						<C1>0.0001</C1>
						<C2>0.0001</C2>
					</Transform2>
				</Cart2DRefFrame>
				<CoordRefPos>
					<Vector2DCoordinate unit="deg">
						<Value2 idref="Center" xsi:nil="true"/>
					</Vector2DCoordinate>
				</CoordRefPos>
				<CARTESIAN coord_naxes="2"/>
				<ReferencePixel>
					<Pixel2D>
						<Name1>RA</Name1>
						<Name2>Dec</Name2>
						<Value2>
							<C1>512</C1>
							<C2>512</C2>
						</Value2>
					</Pixel2D>
				</ReferencePixel>
			</PixelCoordFrame>
		</PixelCoordSystem>
		<PixelCoordArea coord_system_id="M81Pix" id="M81PixImage">
			<PixelCoord2VecInterval frame_id="spacepix">
				<LoLimit2Vec>
					<C1>1</C1>
					<C2>1</C2>
				</LoLimit2Vec>
				<HiLimit2Vec>
					<C1>1024</C1>
					<C2>1024</C2>
				</HiLimit2Vec>
			</PixelCoord2VecInterval>
		</PixelCoordArea>
	</PixelSpace>
</ObsDataLocation>
