Git Product home page Git Product logo

Comments (6)

ladoramkershner avatar ladoramkershner commented on August 30, 2024 2

That was it... Thanks Jesse!

from kalasiris.

jessemapel avatar jessemapel commented on August 30, 2024 1

I think you may have your data area setup wrong. ISIS 4.0.0 still uses ISIS3DATA for its data environment variable, see here.

Try setting os.environ['ISIS3DATA'] = '/path/to/isis_data/' and make sure you point to the old data area and not the new one. Check what ISIS3DATA resolves to when you just activate the isis4.0.0 environment internally.

from kalasiris.

jessemapel avatar jessemapel commented on August 30, 2024

@ladoramkershner Do you have the print.prt files from these runs? kalasiris should still produce a print.prt file.

from kalasiris.

ladoramkershner avatar ladoramkershner commented on August 30, 2024

Yup! The only difference I saw between the two calls was that the kalasiris has an Unknown user. This may be an issue since I am using a shared isis conda environment.

Object = getsn
  IsisVersion       = "4.0.0  | 2020-02-04"
  ProgramVersion    = 2018-01-17
  ProgramPath       = /path/to/anaconda3/envs/isis4.0.0/bin
  ExecutionDateTime = 2021-09-09T14:40:55
  HostName          = Unknown
  UserName          = Unknown
  Description       = "Prints Image Serial Number"

  Group = UserParameters
    FROM        = /path/to/TC1W2B0_01_01069N027E3061.cub
    APPEND      = TRUE
    DEFAULT     = FALSE
    FILE        = False
    SN          = True
    OBSERVATION = False
    FORMAT      = PVL
  End_Group

  Group = Results
    SerialNumber = Unknown
  End_Group

  Group = Accounting
    ConnectTime = 00:00:00.0
    CpuTime     = 00:00:00.3
  End_Group
End_Object

command line call

Object = getsn
  IsisVersion       = "4.0.0  | 2020-02-04"
  ProgramVersion    = 2018-01-17
  ProgramPath       = /path/to/anaconda3_linux/envs/isis4.0.0/bin
  ExecutionDateTime = 2021-09-09T14:45:09
  HostName          = Unknown
  UserName          = ladoramkershner
  Description       = "Prints Image Serial Number"

  Group = UserParameters
    FROM        = /path/to/TC1W2B0_01_01069N027E3061.cub
    APPEND      = TRUE
    DEFAULT     = FALSE
    FILE        = False
    SN          = True
    OBSERVATION = False
    FORMAT      = PVL
  End_Group

  Group = Results
    SerialNumber = KAGUYA/TC1/2008-01-05T02:38:00.961757
  End_Group

  Group = Accounting
    ConnectTime = 00:00:00.0
    CpuTime     = 00:00:00.3
  End_Group
End_Object

To test if this was the issue, I tried running the kalasiris command on a CTX image which has no known serial number generation issues. I also got 'Unknown' returned. So this may be more an issue of setting a user in a way ISIS can pick up on and only an issue when using shared conda environements...

from kalasiris.

jessemapel avatar jessemapel commented on August 30, 2024

The ISIS data area transition continues to be one of the changes I am both very happy about but also constantly fielding bug reports over!

from kalasiris.

rbeyer avatar rbeyer commented on August 30, 2024

Good catch, though.

from kalasiris.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.