-
Notifications
You must be signed in to change notification settings - Fork 0
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
Provide external data dependencies for FOT Matlab tools #45
Comments
@taldcroft Will the copy of the dark current files on the GRETA network be updated timely enough that it can be the source for FOT Windows users? |
@mbaski - sure, we can make it so. The files will be on GRETA in those directories with Eventually there will be other files, e.g. the dynamically-updated list of best-available mags for stars that have been observed. |
So this is also an action for me or @jeanconn to ensure data are available on GRETA. For the 4.0 proseco release it should sufficient to ensure by process that a new dark cal gets copied over in a timely manner. p.s. 4.x is our version designator for code that is not Py2 / Ska2 compatible. |
Here's the approach I'm implementing for Windows (with the goal being minimal effort and inconvenience for the user):
|
@mbaski - looks like a good plan. |
@mbaski - I updated the description to include a couple more optional files, for your reference. |
@mbaski - closing since my understanding is that you have implemented this for Matlab tools. Feel free to re-open if there is any outstanding issue. |
I just reopened this because I'm not sure where to track that we need the new miniagasc.h5 in the data files for the Windows env. |
@mbaski On the Windows side do you or will you set a SKA environment variable or a MICA_ARCHIVE variable or both? |
Thanks for re-opening this - it is not actually done (it's about 90% complete - all the various pieces are implemented, I'm just adding niceties for users, e.g. insight into how much data needs to be synced). @jeanconn one of the files I'm syncing is the miniagasc.h5 file, so it will be taken care of. |
Regarding the syncing of the miniagasc I wasn't sure if it was an rsync or the like (which should notice the file is different and update). On HEAD and GRETA I've set things now to use the new miniagasc by removing the old miniagasc and setting miniagasc.h5 to be a symlink to the new file. |
Both. And also mica.common.MICA_ARCHIVE (for star catalogs from obsid as input). |
This has now been implemented for user's Windows machines. The GRETA network is the source of the files so they need to be kept up to date. |
@mbaski - which files are being synced? |
Ah, I see some input from your separate email. It looks like optional files are synced if they are already in the data directory. |
For the record, here's the current list of files/directories synced: Mandatory (if the directory doesn't exist, it is created):
Optional (only synced if the directory exists):
|
NOTE : this is transferred to the Wiki
The following external data files are required for selecting acquisition stars and need to be available to any machine running proseco.
$SKA/data/agasc/proseco_agasc.h5
(Corresponds to AGASC 1.7 for proseco 4.0 release)$SKA/data/agasc/agasc_supplement.h5
$SKA/data/mica/archive/aca_dark/*/image.fits
$SKA/data/mica/archive/aca_dark/*/properties.json
The dark current files currently span the entire mission. This isn't really necessary for production planning, but what is necessary is to include new files after a dark cal. When SRDC's become a reality this could mean an update every few days, but we don't need to deal with this for the 4.0 release.
For the optional functionality of selecting a catalog for an archival observation using only the
obsid
as input, the following files are also needed:$SKA/data/cmd_states/cmd_states.db3
$SKA/data/mica/archive/starcheck/starcheck.db3
These files are needed to perform all tests (they will be skipped if not available).
Assigned to @mbaski.
The text was updated successfully, but these errors were encountered: