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, optional If necessary, set the camcol number using this argument.
- rerun
str, optional If necessary, set the rerun name using this argument.
- ftype
- Returns:
strThe directory in which file
ftypelives.
- Raises:
KeyErrorIf the file type is unknown.