Uploaded image for project: 'Apache Open Climate Workbench (Retired)'
  1. Apache Open Climate Workbench (Retired)
  2. CLIMATE-817

More informative error messages for data_source.load_file()

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0
    • Component/s: data sources
    • Labels:
      None

      Description

      The error message in data_source.load_file() should be more informative. In particular, the string entered by the user for the

      {file_path}

      argument should at least be shown, especially if this input is passed by another calling function (eg load_dataset_from_multiple_netcdf_files()) instead of directly by the user.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                agoodman Alex Goodman
                Reporter:
                agoodman Alex Goodman
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: