code: def write(self, ncfile) -> None:
          
          self.insert_subdevices(ncfile)
          create_variable(ncfile, self.name, 'f8', self.dimensions)
          ncfile[self.name][:] = self.array
docs: Write the data to the given NetCDF file.
  
          See the general documentation on class |NetCDFVariableFlat|
          for some examples.