Skip to content

map setup returns errors #19

Description

@bnlawrence

Version 3.3.0

Start cf-view, choose setup, choose map

With data already read:

Traceback (most recent call last):
  File "/Users/bnl28/Repositories/cf-view/cfview", line 2823, in menu
  self.map_window = Map_window(self.parent)
  File "/Users/bnl28/Repositories/cf-view/cfview", line 4581, in __init__
  self.initUI()
  File "/Users/bnl28/Repositories/cf-view/cfview", line 4667, in initUI
  if len(plotvars.fields) > 0:
  File "/Users/bnl28/Repositories/cf-view/cfview", line 4667, in initUI
  if len(plotvars.fields) > 0
     TypeError:  object of type 'NoneType' has no len()
     File read: ['/Users/bnl28/Data/mars-era-teaching2023.nc']

Before loading data same error without the File read ...

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