Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Use the functions provided, e.g.

    Code Block
    languagepowershell
    lats = latitudes(gpt)
    vals = values(gpt)
    rh   = values(gpt, 'rh') # assuming NCOLS format with a value column of name 'rh'


  2. Use column indexing, e.g.

    Code Block
    languagepowershell
    lats = gpt['latitude']
    vals = gpt['value']
    rh   = gpt['rh'] # assuming NCOLS format with a value column of name 'rh'


To assign values to a column, again there are 2 methods, but they have different behaviours:

...