def METHOD_NAME(self, row, use_dev_fixtures=False, well=None, aquifer=None):
    if row['POD_SUBTYPE'].strip() not in ['PWD', 'PG']:
        # [Nicole]: (we are only concerned with PWD and PG data – exclude any
        # rows with POD. POD refers to surface water which is out of scope for GWELLS)
        return
    if not row['SOURCE_NAME'].strip().isdigit() and not row['WELL_TAG_NUMBER'].strip().isdigit():
        # Licence must be for a well or aquifer
        return
    logging.info("importing licence #{}".format(row['LICENCE_NUMBER']))
    # Check the Licence is for a valid Aquifer and Well
    # the if check here allows this function to be called with a specific
    # well or aquifer for dev/test environments.
    if not aquifer and row.get('SOURCE_NAME', '').strip().isdigit():
        try:
            aquifer = Aquifer.objects.get(pk=row['SOURCE_NAME'])
        except Aquifer.DoesNotExist:
            pass
    if not well and row.get('WELL_TAG_NUMBER', '').strip().isdigit():
        try:
            well = Well.objects.get(pk=row['WELL_TAG_NUMBER'])
        except Well.DoesNotExist:
            pass
    well_updated = False
    try:
        # Maintain code table with water rights purpose.
        purpose = WaterRightsPurpose.objects.get(
            code=row['PURPOSE_USE_CODE'].strip())
    except WaterRightsPurpose.DoesNotExist:
        purpose = WaterRightsPurpose.objects.create(
            code=row['PURPOSE_USE_CODE'].strip(),
            description=row['PURPOSE_USE'].strip())
    licence = WaterRightsLicence(wrl_sysid=row['WLS_WRL_SYSID'])
    licence.licence_number = row['LICENCE_NUMBER'].strip()
    licence.quantity_flag = row['QUANTITY_FLAG'].strip()
    licence.purpose = purpose
    # Convert quantity to m3/year
    quantity = float(row['QUANTITY'].strip() or '0')
    if row['QUANTITY_UNITS'].strip() == "m3/sec":
        quantity = quantity * 60*60*24*365
    elif row['QUANTITY_UNITS'].strip() == "m3/day":
        quantity = quantity * 365
    elif row['QUANTITY_UNITS'].strip() == "m3/year":
        quantity = quantity
    else:
        raise Exception('unknown quantity unit: `{}`'.format(row['QUANTITY_UNITS']))
    licence.quantity = quantity
    licence.save()
    if aquifer and well and not well.aquifer:
        well.aquifer = aquifer
        well_updated = True
    if well and licence not in well.licences.all():
        well.licences.add(licence)
        well_updated = True
    if well_updated:
        well.save()
    logging.info('assocated well={} aquifer={} licence_sysid={}'.format(
        well.pk if well else "None",
        aquifer.pk if aquifer else "None",
        licence.pk
    ))
    return licence