sdss_path

pydl.photoop.sdssio.sdss_path(ftype, run, camcol=0, rerun='')[source]

Return the path name for SDSS data assuming SAS directory structure.

Parameters:
ftypestr

The general type of the file, for example 'reObj'

runint

The run number.

camcolint, optional

If necessary, set the camcol number using this argument.

rerunstr, optional

If necessary, set the rerun name using this argument.

Returns:
str

The directory in which file ftype lives.

Raises:
KeyError

If the file type is unknown.