docs: def getAsWmsDatasetString(self, session):
          """
          Retrieve the WMS Raster as a string in the WMS Dataset format
          """
          # Magic numbers
          FIRST_VALUE_INDEX = 12
  
          # Write value raster
          if type(self.raster) != type(None):
              # Convert to GRASS ASCII Raster
              valueGrassRasterString = self.getAsGrassAsciiGrid(session)
  
              # Split by lines
              values = valueGrassRasterString.split()
  
              # Assemble into string
              wmsDatasetString = ''
              for i in range(FIRST_VALUE_INDEX, len(values)):
                  wmsDatasetString += '{0:.6f}\r\n'.format(float(values[i]))
  
              return wmsDatasetString
  
          else:
              wmsDatasetString = self.rasterText