def create_spatialref(srs, srs_format='srid'):
    spatialref = osr.SpatialReference()
    if srs_format:
        if srs_format == 'srid':
            spatialref.ImportFromEPSG(srs)
        elif srs_format == 'wkt':
            spatialref.ImportFromWkt(srs)
        elif srs_format == 'proj':
            spatialref.ImportFromProj4(srs)
    else:
        spatialref.ImportFromEPSG(int(srs.split(':')[1]))
    return spatialref
Return the fileno() of my process's stderr.
dataset/ETHPy150Open hydroshare/hydroshare2/ga_resources/utils.py/create_spatialref--crossover with--dataset/ETHPy150Open twisted/twisted/twisted/internet/process.py/ProcessReader.fileno