code: def from_lasio(cls, l, remap=None, funcs=None):
          
          params = {}
          funcs = funcs or {}
          funcs['location'] = str
          for field, (sect, code) in las_fields['location'].items():
              params[field] = utils.lasio_get(l,
                                              sect,
                                              code,
                                              remap=remap,
                                              funcs=funcs)
          return cls(params)
docs: Make a Location object from a lasio object. Assumes we're starting
          with a lasio object, l.
  
          Args:
              l (lasio).
              remap (dict): Optional. A dict of 'old': 'new' LAS field names.
              funcs (dict): Optional. A dict of 'las field': function() for
                  implementing a transform before loading. Can be a lambda.
  
          Returns:
              Location. An instance of this class.