Skip to content

Commit

Permalink
Remove fallback error
Browse files Browse the repository at this point in the history
  • Loading branch information
katamartin committed Apr 26, 2024
1 parent 0e37d89 commit a2e033d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions components/data/dataset.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,6 @@ class Dataset {
this.variables = variables
this.variableMetadata = {}

if (variables.length === 0) {
throw new Error(
'No viewable variables found. Please provide a dataset with at least 2D data arrays.'
)
}

if (levels.length > 0) {
this.levels = levels.reduce((accum, level) => {
accum[level] = new Level(level, this)
Expand Down

0 comments on commit a2e033d

Please sign in to comment.