-
Notifications
You must be signed in to change notification settings - Fork 169
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
hyb2onc2isis needs updating to deal with new Hayabusa2 FITS image labels #3698
Comments
We could also fix some inconsistencies in the hyb2onc2isis docs regarding input file types at the same time. |
For reference, the related issue was resolved by adding a default value to the transformation file. It is likely that this will involve a similar fix. |
I started digging into this. I dumped a .fits label and compared to the .trn files. Lots needs changing. I was able to figure out many of the changes, but some labels appear not to be present and so I just commented them out... probably the wrong approach. Now, hyb2onc2isis works but spiceinit fails with Where are these .trn files hosted, and how do I propose changes to them? The README in the same folder says "These translation files are maintained and archived on astrogit under the fy17_hayabusa2 repo." In the meantime, here's a diff of the changes I made in order to get hyb2onc2isis to stop outputting errors: edit: I also commented out the ImageNumber group in hyb2oncArchive.trn , but that didn't make it into the above diff. |
@foobarbecue We're currently working to get those files pushed into the repo. For right now though, only the USGS ASC has access to make changes. We've got this issue slotted for work at the end of March so we'll take you're changes and start off of them getting this resolved. The spiceinit error looks like it's caused by a lack of kernels. We only have kernels up to 2016 in $ISIS3DATA/hayabusa2/kernels/ck, I'm not sure why that is. @kberryUSGS do we have a kernel update script for Hayabusa 2? Thanks for putting so much work into this, it'll help us get this resolved much easier. |
We do have a kernel update script for Hayabusa2. It's pulling kernels from http://www.darts.isas.jaxa.jp/pub/hayabusa2/spice_bundle/spice_kernels/, but the most recent cks there are from 2016. I'm not sure if there is a more up-to-date source. |
@scsides Do you want to check with the team and see if they have updated CKs that we can pull? |
I see kernels up to 2019 are now available at https://www.darts.isas.jaxa.jp/pub/hayabusa2/spice_bundle/spice_kernels , and sisdist.astrogeology.usgs.gov rsync. Great, I'll see if I get spiceinit to work now. |
Almost!
|
That's a pck error. Ryugu isn't in pck10, try downloading this: https://www.darts.isas.jaxa.jp/pub/hayabusa2/spice_bundle/spice_kernels/pck/hyb2_ryugu_shape_v20190328.tpc and passing it via the pck parameter. |
Well, I'm not sure why the change but now I'm getting:
|
Hi @foobarbecue, the changes you recommended were merged in PR #3813 . I needed to make an additional change to fix the After I was able to ingest your example Hayabusa2 fits file, to get the resulting cube spiceiniting, I did need to make some changes to the hayabusa2 kernels area. These changes will be available on the rsync server when the release candidate is released. If you'd like them earlier, I could also push an earlier update, just let me know! |
Wonderful! I will definitely use this in the next few days, if you are able to push the earlier kernel area update. |
@foobarbecue We'll be pushing the most recent kernels we have as we've changed the data area around for 4.1. It looks like we have coverage up to beginning of 2019 currently. |
@kberryUSGS Can this be closed? |
Hi, I just got around to trying this with the 4.1.0 RC and from spiceinit I get:
I don't need Hayabusa 1 kernels for Hayabusa2, do I? |
The Hayabusa2 pck kerneldb isn't pulling in the ryugu PCK. Try adding @kberryUSGS Is it okay if I manually update the kernel.db? |
@jessemapel I already updated the kernel.db to pick up the new pcks, but they weren't pushed to the rsync server until just now. I pushed just the @foobarbecue Try updating your
I added the You should see that PCK file (among other changes) come down in your rsync. The rsync module name has changed from |
Thanks guys, after updating kernels from the
|
Think I figured it out, working on a quick patch |
ISIS version(s) affected: 3.9.1
Description
When running hyb2onc2isis with any of the FITS images JAXA released for their July 2018 orbits, from http://darts.isas.jaxa.jp/pub/hayabusa2/onc_bundle/browse/ , hyb2onc2isis fails with:
How to reproduce
Install ISIS 4.0.0, download hyb2_onc_20180710_060508_tvf_l2a.fit and run
hyb2onc2isis from=hyb2_onc_20180710_060508_tvf_l2a.fit to=hyb2_onc_20180710_060508_tvf_l2a.cub
Possible Solution
Labels on newer Hyabusa images are presumably different from labels used in older images against which hyb2onc2isis was developed.
Additional context
Initially discussed at https://astrodiscuss.usgs.gov/t/problem-injesting-hyabusa2-data/374/6
The text was updated successfully, but these errors were encountered: