class_docstr: ASCII reader for Vaisala GDL360 data.
class_docstr_tok: ["ASCII","reader","for","Vaisala","GDL360","data","."]
docstr: Load a dataset.
docstr_tok: ["Load","a","dataset","."]
code: def get_dataset(self, dataset_id, dataset_info):
      """Load a dataset."""
      xarr = xr.DataArray(
          da.from_array(
              self.data[dataset_id["name"]], chunks=CHUNK_SIZE
          ),
          dims=["y"],
      )
  
      # Add time, longitude, and latitude as non-dimensional y-coordinates
      xarr["time"] = ("y", self.data["time"])
      xarr["longitude"] = ("y", self.data["longitude"])
      xarr["latitude"] = ("y", self.data["latitude"])
  
      if dataset_id["name"] == "power":
          # Check that units in the file match the unit specified in the
          # reader yaml-file
          if not (self.data.unit == dataset_info["units"]).all():
              raise ValueError("Inconsistent units found in file!")
      xarr.attrs.update(dataset_info)
  
      return xarr
  
file_path: satpy/satpy/readers/vaisala_gld360.py
imports: import logging
  import dask.array
  import pandas
  import xarray
  from satpy.readers.file_handlers import BaseFileHandler
  from satpy.utils import get_legacy_chunk_size
label_desc: Use image node_id 4 for calling the VaisalaGLD360TextFileHandler obj's underlying member method code with example usage: obj.get_dataset(dataset_id, dataset_info) and returns: xarr