Skip to content

Bug in current Docker tutorials - paths no longer match code expectations #21

@serbinsh

Description

@serbinsh

Working through setting up ISOFIT on an SMCE resource for training purposes and I noticed that within the existing Dockerized version of the code, there are some new inconsistencies with existing Jupyter notebooks and new locations of the ISOFIT data/examples. For example, running

data_prep.ipynb

Image

And I think this because the data is now located in:

/examples/isotuts/NEON/neon_subset/

instead of the expected

examples/isotuts/NEON/data/

A test to try and fix this, I modified the path definitions as follows

# Path to the input NEON data
indata = os.path.join(home, 'neon_subset') 
subset_dir = os.path.join(home, 'data', 'subsets')

From the original

# Path to the input NEON data
indata = os.path.join(home, 'data') 
subset_dir = os.path.join(indata, 'subsets')

Fixes the above issue, though then I ran into a new bug

Image

trying to sort it out because I can confirm the steps before work
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions