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: ftype :
str
The general type of the file, for example
'reObj'
run :
int
The run number.
camcol :
int
, optionalIf necessary, set the camcol number using this argument.
rerun :
str
, optionalIf necessary, set the rerun name using this argument.
Returns: The directory in which file
ftype
lives.Raises: KeyError
If the file type is unknown.