-
Notifications
You must be signed in to change notification settings - Fork 173
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
qnet will not open a .lis #4341
Comments
I think I've run into something like this. Does your Red_list.lis file end with the "b" in RED_C11.cub, or is there a "carriage return/linefeed" character after it? If not, trying putting one there. If you're creating this file programmatically, you might be putting and end-of-line characters between the elements, but not after the last one. |
Hi,
No, this doesn’t appear to be the problem. I literally created a new list file and made certain there were carriage returns after each entry. No dice.
Thanks,
…-Shawn
From: Ross Beyer <[email protected]>
Reply-To: USGS-Astrogeology/ISIS3 <[email protected]>
Date: Friday, March 5, 2021 at 12:07 PM
To: USGS-Astrogeology/ISIS3 <[email protected]>
Cc: "Brueshaber, Shawn (US 3222)" <[email protected]>, Author <[email protected]>
Subject: [EXTERNAL] Re: [USGS-Astrogeology/ISIS3] qnet will not open a .lis (#4341)
I think I've run into something like this. Does your Red_list.lis file end with the "b" in RED_C11.cub, or is there a "carriage return/linefeed" character after it? If not, trying putting one there. If you're creating this file programmatically, you might be putting and end-of-line characters between the elements, but not after the last one.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<https://urldefense.us/v3/__https:/github.com/USGS-Astrogeology/ISIS3/issues/4341*issuecomment-791554738__;Iw!!PvBDto6Hs4WbVuu7!b-IuVRjRLjrmnFEruB6KQrtWCGirloHPqJE6-6BPh5ccWkLg2_ZjmwX1QIaEGjPF1SI2KvXuPx0$>, or unsubscribe<https://urldefense.us/v3/__https:/github.com/notifications/unsubscribe-auth/ATDIILH7ACNOHOFBIQBFN3TTCEFWJANCNFSM4YVRKFBQ__;!!PvBDto6Hs4WbVuu7!b-IuVRjRLjrmnFEruB6KQrtWCGirloHPqJE6-6BPh5ccWkLg2_ZjmwX1QIaEGjPF1SI2vtc-L6U$>.
|
Hi @shawn-brueshaber, qnet is specifically complaining about not being able to access/construct a serial number for your image. Qview does not require this information but control network programs do. This sounds like a problem with the data area. Could you run the program getsn and let's us know what your results are. If it is "Unknown" then key files are missing. I won't be able to help you with data area setup issues, but when available one of the developers can. You might poke around other similar posts in the meantime to do some trouble-shooting on your own. |
It looks like it cannot create a serial number for the image, do you have your data area downloaded properly? Check that See the Readme for more information |
Hi Jesse,
That file is there. Contents are:
ObservationKeys = 4
Group = Keyword1
Auto
InputKey = SpacecraftName
InputGroup = "IsisCube,Instrument"
InputPosition = (IsisCube, Instrument)
OutputName = Keyword1
OutputPosition = (Group, SerialNumberKeywords)
Translation = (*, *)
End_Group
Group = Keyword2
Auto
InputKey = InstrumentId
InputGroup = "IsisCube,Instrument"
InputPosition = (IsisCube, Instrument)
OutputName = Keyword2
OutputPosition = (Group, SerialNumberKeywords)
Translation = (*, *)
End_Group
Group = Keyword3
Auto
InputKey = StartTime
InputGroup = "IsisCube,Instrument"
InputPosition = (IsisCube, Instrument)
OutputName = Keyword3
OutputPosition = (Group, SerialNumberKeywords)
Translation = (*, *)
End_Group
Group = Keyword4
Auto
InputKey = FrameletNumber
InputGroup = "IsisCube,Instrument"
InputPosition = (IsisCube, Instrument)
OutputName = Keyword4
OutputPosition = (Group, SerialNumberKeywords)
Translation = (*, *)
End_Group
Group = Keyword5
Auto
InputKey = FilterName
InputGroup = "IsisCube,BandBin"
InputPosition = (IsisCube, BandBin)
OutputName = Keyword5
OutputPosition = (Group, SerialNumberKeywords)
Translation = (*, *)
End_Group
End
From: Jesse Mapel <[email protected]>
Reply-To: USGS-Astrogeology/ISIS3 <[email protected]>
Date: Friday, March 5, 2021 at 12:36 PM
To: USGS-Astrogeology/ISIS3 <[email protected]>
Cc: "Brueshaber, Shawn (US 3222)" <[email protected]>, Mention <[email protected]>
Subject: [EXTERNAL] Re: [USGS-Astrogeology/ISIS3] qnet will not open a .lis (#4341)
It looks like it cannot create a serial number for the image, do you have your data area downloaded properly? Check that $ISISDATA/juno/translations/junoSerialNumber0001.trn exists. It could be that you downloaded the ISIS 4 data area which does not contain these translation files, they were moved into the distribution.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<https://urldefense.us/v3/__https:/github.com/USGS-Astrogeology/ISIS3/issues/4341*issuecomment-791572615__;Iw!!PvBDto6Hs4WbVuu7!cxRS0UDwqAx7ZgJwyJAboDCMkkESxkljXrdFXdhygSl8p9dql2g_12UAco85GUYDGTuXntOZu1Y$>, or unsubscribe<https://urldefense.us/v3/__https:/github.com/notifications/unsubscribe-auth/ATDIILDE6EA2ENBR6KSKTMLTCEJDBANCNFSM4YVRKFBQ__;!!PvBDto6Hs4WbVuu7!cxRS0UDwqAx7ZgJwyJAboDCMkkESxkljXrdFXdhygSl8p9dql2g_12UAco85GUYDGTuXG42Vl54$>.
|
Hello,
I got an “unknown” on running that command. I do have the file $ISISDATA/juno/translations/junoSerialNumber0001.trn right where it is supposed to be.
Thanks,
…-Shawn
From: lwellerastro <[email protected]>
Reply-To: USGS-Astrogeology/ISIS3 <[email protected]>
Date: Friday, March 5, 2021 at 12:36 PM
To: USGS-Astrogeology/ISIS3 <[email protected]>
Cc: "Brueshaber, Shawn (US 3222)" <[email protected]>, Mention <[email protected]>
Subject: [EXTERNAL] Re: [USGS-Astrogeology/ISIS3] qnet will not open a .lis (#4341)
USER ERROR FileName [RED_A09.cub] can not be added to serial number list.
USER ERROR Invalid serial number [Unknown] from file [RED_A09.cub].
Hi @shawn-brueshaber<https://urldefense.us/v3/__https:/github.com/shawn-brueshaber__;!!PvBDto6Hs4WbVuu7!YEp6YfK-gAOw3sZkOrMJKv0UfCShT4JckYDg_RZ5w6b1RRVidhSg8i62OcZYFuOQMrWujkNokSs$>, qnet is specifically complaining about not being able to access/construct a serial number for your image. Qview does not require this information but control network programs do. This sounds like a problem with the data area. Could you run the program getsn and let's us know what your results are. If it is "Unknown" then key files are missing. I won't be able to help you with data area setup issues, but when available one of the developers can. You might poke around other similar posts in the meantime to do some trouble-shooting on your own.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<https://urldefense.us/v3/__https:/github.com/USGS-Astrogeology/ISIS3/issues/4341*issuecomment-791572589__;Iw!!PvBDto6Hs4WbVuu7!YEp6YfK-gAOw3sZkOrMJKv0UfCShT4JckYDg_RZ5w6b1RRVidhSg8i62OcZYFuOQMrWu48FQ3U8$>, or unsubscribe<https://urldefense.us/v3/__https:/github.com/notifications/unsubscribe-auth/ATDIILHW5MKRS2RKZ6M3IGTTCEJC3ANCNFSM4YVRKFBQ__;!!PvBDto6Hs4WbVuu7!YEp6YfK-gAOw3sZkOrMJKv0UfCShT4JckYDg_RZ5w6b1RRVidhSg8i62OcZYFuOQMrWumWu-rHg$>.
|
@shawn-brueshaber Can you post the label from the first image? |
Hi Jesse,
The first is JNCE_2020154_27C00007_V01_RED_0007.cub and the second is JNCE_2020154_27C00007_V01_RED_0012.cub. I’ve tried using these names and tried simpler ones such as RED7 and RED12.
Both cubs are generated by junocam2isis on JNCE_2020154_27C00007_V01.LBL and then running spiceinit on them. Here are the contents of said label file:
PDS_VERSION_ID = PDS3
/* FILE CHARACTERISTICS */
RECORD_TYPE = FIXED_LENGTH
RECORD_BYTES = 1648
FILE_RECORDS = 10752
/* POINTERS TO DATA OBJECTS */
^IMAGE = "JNCE_2020154_27C00007_V01.IMG"
/* IDENTIFICATION DATA ELEMENTS */
FILE_NAME = "JNCE_2020154_27C00007_V01.IMG"
SPACECRAFT_NAME = JUNO
MISSION_PHASE_NAME = "SCIENCE ORBITS"
TARGET_NAME = "JUPITER"
INSTRUMENT_ID = "JNC"
INSTRUMENT_HOST_NAME = "JUNO"
INSTRUMENT_NAME = "JUNO EPO CAMERA"
PRODUCER_ID = JUNO_JUNOCAM_TEAM
DATA_SET_ID = "JUNO-J-JUNOCAM-2-EDR-L0-V1.0"
STANDARD_DATA_PRODUCT_ID = "JUNOCAM-EDR"
PRODUCT_CREATION_TIME = 2020-09-30T19:48:03
PRODUCT_VERSION_ID = "01"
PRODUCT_ID = "JNCE_2020154_27C00007_V01"
SOURCE_PRODUCT_ID = "3D-09001B0007-2020-154T12.50.00"
START_TIME = 2020-06-02T09:41:02.680
IMAGE_TIME = 2020-06-02T09:41:02.680
STOP_TIME = 2020-06-02T09:41:13.040
SPACECRAFT_CLOCK_START_COUNT = "644363187:218"
SPACECRAFT_CLOCK_STOP_COUNT = "N/A"
/* DESCRIPTIVE DATA ELEMENTS */
ORBIT_NUMBER = 27
SOFTWARE_NAME = "JUNOMAKEPDS.PY 0.9"
PROCESSING_LEVEL_ID = "2"
FOCAL_PLANE_TEMPERATURE = 255.7 <K>
INTERFRAME_DELAY = 0.370 <s>
SUB_SPACECRAFT_LATITUDE = 73.1077
SUB_SPACECRAFT_LONGITUDE = 201.1509
SPACECRAFT_ALTITUDE = 50165.1 <km>
SOLAR_DISTANCE = 7.7362e+08 <km>
SAMPLE_BIT_MODE_ID = "SQROOT"
EXPOSURE_DURATION = 28.800000 <ms>
JNO:TDI_STAGES_COUNT = 9
SAMPLING_FACTOR = 1
FILTER_NAME = ('BLUE', 'GREEN', 'RED')
COMPRESSION_TYPE = "INTEGER COSINE TRANSFORM"
RATIONALE_DESC = "PJ27 Northern Circumpolar Cyclones (relative
time: PJ27-000T00:38)"
/* DATA OBJECT DEFINITIONS */
OBJECT = IMAGE
LINES = 10752
LINE_SAMPLES = 1648
SAMPLE_TYPE = UNSIGNED_INTEGER
LINE_PREFIX_BYTES = 0
LINE_SUFFIX_BYTES = 0
SAMPLE_BITS = 8
SAMPLE_BIT_MASK = 2#11111111#
MD5_CHECKSUM = "e02500c0fe08e7223fd2d58c4f53a181"
END_OBJECT = IMAGE
END
From: Jesse Mapel <[email protected]>
Reply-To: USGS-Astrogeology/ISIS3 <[email protected]>
Date: Friday, March 5, 2021 at 2:52 PM
To: USGS-Astrogeology/ISIS3 <[email protected]>
Cc: "Brueshaber, Shawn (US 3222)" <[email protected]>, Mention <[email protected]>
Subject: [EXTERNAL] Re: [USGS-Astrogeology/ISIS3] qnet will not open a .lis (#4341)
@shawn-brueshaber<https://urldefense.us/v3/__https:/github.com/shawn-brueshaber__;!!PvBDto6Hs4WbVuu7!c4zHpcm-ygnwkARgK3xqDGvIerswZQ8dfk2KgEwB8B0lXZuWKEz89aIys1ztudRvIASCkGy6OQY$> Can you post the label from the first image?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<https://urldefense.us/v3/__https:/github.com/USGS-Astrogeology/ISIS3/issues/4341*issuecomment-791644460__;Iw!!PvBDto6Hs4WbVuu7!c4zHpcm-ygnwkARgK3xqDGvIerswZQ8dfk2KgEwB8B0lXZuWKEz89aIys1ztudRvIASC7VqtQ_Q$>, or unsubscribe<https://urldefense.us/v3/__https:/github.com/notifications/unsubscribe-auth/ATDIILD3HTPYJKKRLMMSHJTTCEY6NANCNFSM4YVRKFBQ__;!!PvBDto6Hs4WbVuu7!c4zHpcm-ygnwkARgK3xqDGvIerswZQ8dfk2KgEwB8B0lXZuWKEz89aIys1ztudRvIASCP2qFoFM$>.
|
Can you post the cube label from RED_A09.cub? |
I’m not sure what you mean “post the cube label.” Can you describe how to go about doing that?
Thanks,
Shawn
From: Jesse Mapel <[email protected]>
Reply-To: USGS-Astrogeology/ISIS3 <[email protected]>
Date: Friday, March 5, 2021 at 4:33 PM
To: USGS-Astrogeology/ISIS3 <[email protected]>
Cc: "Brueshaber, Shawn (US 3222)" <[email protected]>, Mention <[email protected]>
Subject: [EXTERNAL] Re: [USGS-Astrogeology/ISIS3] qnet will not open a .lis (#4341)
Can you post the cube label from one of the cubes?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<https://urldefense.us/v3/__https:/github.com/USGS-Astrogeology/ISIS3/issues/4341*issuecomment-791723862__;Iw!!PvBDto6Hs4WbVuu7!fV8lJP4umftN3G7vGvRgbn6WdQ9ecdFAkN9dQ2RfLvFaE-VLHcja7ITEfz4yah5QENTOzGK-2yo$>, or unsubscribe<https://urldefense.us/v3/__https:/github.com/notifications/unsubscribe-auth/ATDIILHIK2EYNE5STB33ZWDTCFE2FANCNFSM4YVRKFBQ__;!!PvBDto6Hs4WbVuu7!fV8lJP4umftN3G7vGvRgbn6WdQ9ecdFAkN9dQ2RfLvFaE-VLHcja7ITEfz4yah5QENTO6u-JctA$>.
|
Run the catlab program on the Cube file to get the Cube label, we don't use the original PDS labels, we transfer most of keywords to a new label that we also add some extra data to. |
Hi Jesse,
Ok, I ran catlab on the two cubes I mentioned. The files are attached.
Thanks,
…-Shawn
From: Jesse Mapel <[email protected]>
Reply-To: USGS-Astrogeology/ISIS3 <[email protected]>
Date: Friday, March 5, 2021 at 5:40 PM
To: USGS-Astrogeology/ISIS3 <[email protected]>
Cc: "Brueshaber, Shawn (US 3222)" <[email protected]>, Mention <[email protected]>
Subject: [EXTERNAL] Re: [USGS-Astrogeology/ISIS3] qnet will not open a .lis (#4341)
Run the catlab program on the Cube file to get the Cube label, we don't use the original PDS labels, we transfer most of keywords to a new label that we also add some extra data to.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<https://urldefense.us/v3/__https:/github.com/USGS-Astrogeology/ISIS3/issues/4341*issuecomment-791766195__;Iw!!PvBDto6Hs4WbVuu7!dmbkrhBJlQ1Jskx0UwlS8iRFX5r9px_Qo44vzyJoqnRVTWpPqmq98jjX5j8oeYIS2pf-gte9AH0$>, or unsubscribe<https://urldefense.us/v3/__https:/github.com/notifications/unsubscribe-auth/ATDIILHSPQQNUECDJ43IKLDTCFMWZANCNFSM4YVRKFBQ__;!!PvBDto6Hs4WbVuu7!dmbkrhBJlQ1Jskx0UwlS8iRFX5r9px_Qo44vzyJoqnRVTWpPqmq98jjX5j8oeYIS2pf-0O4ncU4$>.
|
@shawn-brueshaber I can't see the attachments. You may need to respond on Github directly. |
|
Here's the issue:
Is looking for the keyword FrameletNumber on the cubes, but they have FrameNumber. It looks like this was changed in 556ca19 but the serialnumber translation didn't get changed. @shawn-brueshaber For right now, replace
with
in $ISISDATA/juno/translations/junoSerialNumber0001.trn This is still present in dev, even though the bug was reported on 3.6. |
Ok, made the change and I’m still getting the same error.
From: Jesse Mapel <[email protected]>
Reply-To: USGS-Astrogeology/ISIS3 <[email protected]>
Date: Monday, March 8, 2021 at 11:19 AM
To: USGS-Astrogeology/ISIS3 <[email protected]>
Cc: "Brueshaber, Shawn (US 3222)" <[email protected]>, Mention <[email protected]>
Subject: [EXTERNAL] Re: [USGS-Astrogeology/ISIS3] qnet will not open a .lis (#4341)
Here's the issue:
Group = Keyword4
Auto
InputKey = FrameletNumber
InputGroup = "IsisCube,Instrument"
InputPosition = (IsisCube, Instrument)
OutputName = Keyword4
OutputPosition = (Group, SerialNumberKeywords)
Translation = (*, *)
End_Group
Is looking for the keyword FrameletNumber on the cubes, but they have FrameNumber. It looks like this was changed in 556ca19<https://urldefense.us/v3/__https:/github.com/USGS-Astrogeology/ISIS3/commit/556ca197336b495a1b3bcfd76b0147f50fe5c73e__;!!PvBDto6Hs4WbVuu7!aNj4JhFifC0We3rd7d2HkO8WsV7WaM36hY4MjRqSvgT03oy4r1KUwz8t6ywyZ4Qy6Dd_qYPMzRo$> but the serialnumber translation didn't get changed.
@shawn-brueshaber<https://urldefense.us/v3/__https:/github.com/shawn-brueshaber__;!!PvBDto6Hs4WbVuu7!aNj4JhFifC0We3rd7d2HkO8WsV7WaM36hY4MjRqSvgT03oy4r1KUwz8t6ywyZ4Qy6Dd_EhzZyPI$> For right now, replace
InputKey = FrameletNumber
with
InputKey = FrameNumber
in $ISISDATA/juno/translations/junoSerialNumber0001.trn
This is still present in dev, even though the bug was reported on 3.6.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<https://urldefense.us/v3/__https:/github.com/USGS-Astrogeology/ISIS3/issues/4341*issuecomment-792871117__;Iw!!PvBDto6Hs4WbVuu7!aNj4JhFifC0We3rd7d2HkO8WsV7WaM36hY4MjRqSvgT03oy4r1KUwz8t6ywyZ4Qy6Dd_zr21f3E$>, or unsubscribe<https://urldefense.us/v3/__https:/github.com/notifications/unsubscribe-auth/ATDIILGEP46DWR6QSMZCOYDTCT2JXANCNFSM4YVRKFBQ__;!!PvBDto6Hs4WbVuu7!aNj4JhFifC0We3rd7d2HkO8WsV7WaM36hY4MjRqSvgT03oy4r1KUwz8t6ywyZ4Qy6Dd_qLz8okg$>.
|
That was all I needed to do for getsn to work with your cube labels in 4.4.0. Can you double check that your translation file looks like the attached translation file (except with .trn as the extension). You can also try installing ISIS 4.4.0 and then modifying the same file at |
The file name was the problem. I took JunoJunoCamSerialNumber.trn and dropped it into the appropriate directory. There was no such file name there, only JunoSerinalNumber0001.trn. Qnet now allows me to select the list I want. |
ISIS version(s) affected 3.6. MacOS
Description
Attempting to use qnet and it keeps throwing an error about the list:
Error processing cube list.
USER ERROR Can't open or invalid file list [/Users/shawnrb/Desktop/Red_list.lis].
USER ERROR FileName [RED_A09.cub] can not be added to serial number list.
USER ERROR Invalid serial number [Unknown] from file [RED_A09.cub].
I have tried copying and pasting the location of the .lis and .cub files to the Desktop from their original location (Desktop/users/shawnrb/Juno_Orbit27/7/file.cub. I've tried changing the names of the .lis and .cub files thinking maybe their original names were too long. I've tried adding their complete file path to the list of cubs as well. Nothing works so far. These cubs open just fine with qview no matter what so I'm very perplexed as to why qnet barfs and I'm dead in the water until I get this figured out.
list name: Red_list.lis.
lis contents:
RED_A09.cub
RED_B10.cub
RED_C11.cub
The text was updated successfully, but these errors were encountered: