Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configfile #13

Merged
merged 4 commits into from
Sep 24, 2024
Merged

Configfile #13

merged 4 commits into from
Sep 24, 2024

Conversation

Nschanche
Copy link
Collaborator

By default, PRF files will be stored locally to {PACKAGEDIR}/data/
This PR adds an optional cache_dir parameter that allows users to access (read and write) files in a different location.

self._prepare_prf()

def __repr__(self):
return f"TESSPRF Object [Camera {self.camera}, CCD {self.ccd}, Sector {self.sector}]"

def _get_prf_data(self):
return get_tess_prf_file(camera=self.camera, ccd=self.ccd, sector=self.sector)
print(self.cache_dir)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be removed?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@tylerapritchard
Copy link
Collaborator

looks good to me other than the print statement

@Nschanche Nschanche merged commit 5ca119c into lightkurve:main Sep 24, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants