CUAHSI / CUAHSI/HydroServer

ODM Data Loader: 'Index outside array' error when loading new data values

Open
#56 1 comment 0 reactions 0 assignees View on GitHub
CodePlex
Dominant language
Visual Basic .NET
Stars
8
Forks
4
PR merge metrics
No merged PRs in 30d

Description

KristinaK[CodePlex]
ODM DL 1.1.5.3. The DL throws the error quotIndex was outside the bounds of the the arrayquot when attempting to bulk load new data values according to method 2 (loading multiple ODM tables from a single input file). According to the ODM Data Loader
documentation and provided templates, the loader should be able to accept new data values and any combination of related tables, as long as care is taken to specify all of the required fields. When loading new data values with additional required fields for
NEW Site/Lab/Lab methods etc (i.e. that do not yet exist in the database), the error appears. The DL works fine for Data Values where the related Site/Lab/etc already exist in the DB.
The attached sample Excel file contains three new data value records, with NEW information specified for the Sample and Lab Method tables.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.