Created
July 1, 2022 14:00
-
-
Save Cadair/eeea235c6d9a2522629b19e86d1a0155 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pathlib import Path | |
import matplotlib.pyplot as plt | |
import astropy.units as u | |
import dkist | |
from dkist.net import transfer_complete_datasets | |
plt.ion() | |
basepath = Path("/storfa/dkist/globus/") | |
proposal_id = "pid_1_22" | |
# Uncomment this to download the data, it expects gcp to be working. | |
# transfer_complete_datasets("AJNMA", path=basepath) | |
# transfer_complete_datasets("AKNPB", path=basepath) | |
# This one is misbehaving | |
ds1 = dkist.Dataset.from_directory(basepath / proposal_id / "AJNMA") | |
# This one is apparently OK | |
ds2 = dkist.Dataset.from_directory(basepath / proposal_id / "AKNPB") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment