def getRfromDynamicMeshMobmap(meshcode_level, dynamicFileName, dynamicFileName1, dynamicFileName2):
    df1 = pd.read_csv(dynamicFileName, header=None, skiprows=2)
    df1.iloc[:, 2] = (np.log10((df1.iloc[:, 2] + 1)) * 100)
    df2 = pd.read_csv(dynamicFileName, header=None, skiprows=2)
    df2.iloc[:, 2] = (np.log((df2.iloc[:, 2] + 1)) * 100)
    with open(dynamicFileName1, 'w') as wf:
        wf.write('@dynamic-mesh\n')
        wf.write((('@use-mesh-code,' + str(meshcode_level)) + '\n'))
    with open(dynamicFileName2, 'w') as wf:
        wf.write('@dynamic-mesh\n')
        wf.write((('@use-mesh-code,' + str(meshcode_level)) + '\n'))
    df1.to_csv(dynamicFileName1, header=False, index=False, mode='a')
    df2.to_csv(dynamicFileName2, header=False, index=False, mode='a')
def getRfromDynamicMeshMobmap(meshcode_level, dynamicFileName, dynamicFileName1, dynamicFileName2):
    df1 = pd.read_csv(dynamicFileName, header=None, skiprows=2)
    df1.iloc[:, 2] = (np.log10((df1.iloc[:, 2] + 1)) * 100)
    df2 = pd.read_csv(dynamicFileName, header=None, skiprows=2)
    df2.iloc[:, 2] = (np.log((df2.iloc[:, 2] + 1)) * 100)
    with open(dynamicFileName1, 'w') as wf:
        wf.write('@dynamic-mesh\n')
        wf.write((('@use-mesh-code,' + str(meshcode_level)) + '\n'))
    with open(dynamicFileName2, 'w') as wf:
        wf.write('@dynamic-mesh\n')
        wf.write((('@use-mesh-code,' + str(meshcode_level)) + '\n'))
    df1.to_csv(dynamicFileName1, header=False, index=False, mode='a')
    df2.to_csv(dynamicFileName2, header=False, index=False, mode='a')