<?xml version="1.0" encoding="UTF-8"?>
<metadata xml:lang="en"><Esri><CreaDate>20130604</CreaDate><CreaTime>09544400</CreaTime><SyncOnce>TRUE</SyncOnce><DataProperties><lineage><Process ToolSource="c:\arcgis\desktop10.0\ArcToolbox\Toolboxes\Data Management Tools.tbx\CalculateField" Date="20130417" Time="202111">CalculateField global_g2008_0 FEWS_ID [ADM0_NAME] VB #</Process><Process ToolSource="c:\arcgis\desktop10.0\ArcToolbox\Toolboxes\Data Management Tools.tbx\DefineProjection" Date="20130417" Time="212631">DefineProjection global_g2008_0 GEOGCS['GCS_WGS_1984',DATUM['D_WGS_1984',SPHEROID['WGS_1984',6378137.0,298.257223563]],PRIMEM['Greenwich',0.0],UNIT['Degree',0.0174532925199433]]</Process><Process ToolSource="c:\arcgis\desktop10.3\ArcToolbox\Toolboxes\Data Management Tools.tbx\AddField" Date="20190528" Time="113425">AddField D:\SMB3\sharedwebfs1\development\fews\EWX_G5\vector_data\Global_v0\g2008_0.shp POLY_ID TEXT # # 50 # NULLABLE NON_REQUIRED #</Process><Process ToolSource="c:\arcgis\desktop10.3\ArcToolbox\Toolboxes\Data Management Tools.tbx\CalculateField" Date="20190528" Time="113431">CalculateField D:\SMB3\sharedwebfs1\development\fews\EWX_G5\vector_data\Global_v0\g2008_0.shp POLY_ID calcValue(!POLY_ID!, None, !ADM0_CODE!, None, None, 'POLY_ID', 'utf-8') PYTHON_9.3 "\ndef calcValue(new_fld, old_fld, fld0, fld1, fld2, new_fld_name, ecode):\n    # print(new_fld, old_fld, fld0, fld1, fld2, new_fld_name, ecode)\n    calc_exp_res = ''\n    if new_fld_name == 'POLY_ID':\n        if fld0 is not None and fld1 is not None and fld2 is not None:\n            calc_exp_res = (str(int(fld0)) + '+' + str(int(fld1)) + '+' +\n                            str(int(fld2)))\n        elif fld0 is not None and fld1 is not None and fld2 is None:\n            calc_exp_res = str(int(fld0)) + '+' + str(int(fld1))\n        elif fld0 is not None and fld1 is None and fld2 is None:\n            calc_exp_res = str(int(fld0))\n        elif old_fld is not None:\n            calc_exp_res = str(old_fld)\n    elif new_fld_name == 'POLY_NAME':\n        if fld0 is not None and fld1 is not None and fld2 is not None:\n            calc_exp_res = (fld0.encode(ecode) + '+' + fld1.encode(ecode) +\n                            '+' + fld2.encode(ecode))\n        elif fld0 is not None and fld1 is not None and fld2 is None:\n            calc_exp_res = fld0.encode(ecode) + '+' + fld1.encode(ecode)\n        elif fld0 is not None and fld1 is None and fld2 is None:\n            calc_exp_res = fld0.encode(ecode)\n        elif old_fld is not None:\n            calc_exp_res = old_fld.encode(ecode)\n    elif new_fld_name == 'GS_START' or new_fld_name == 'WS_START':\n        calc_exp_res = int(old_fld)\n    # print(calc_exp_res)  # for debugging\n    return calc_exp_res\n"</Process><Process ToolSource="c:\arcgis\desktop10.3\ArcToolbox\Toolboxes\Data Management Tools.tbx\AddField" Date="20190528" Time="113433">AddField D:\SMB3\sharedwebfs1\development\fews\EWX_G5\vector_data\Global_v0\g2008_0.shp POLY_NAME String # # 250 # NULLABLE NON_REQUIRED #</Process><Process ToolSource="c:\arcgis\desktop10.3\ArcToolbox\Toolboxes\Data Management Tools.tbx\CalculateField" Date="20190528" Time="113439">CalculateField D:\SMB3\sharedwebfs1\development\fews\EWX_G5\vector_data\Global_v0\g2008_0.shp POLY_NAME calcValue(!POLY_NAME!, !FEWS_ID!, None, None, None, 'POLY_NAME', 'utf-8') PYTHON_9.3 "\ndef calcValue(new_fld, old_fld, fld0, fld1, fld2, new_fld_name, ecode):\n    # print(new_fld, old_fld, fld0, fld1, fld2, new_fld_name, ecode)\n    calc_exp_res = ''\n    if new_fld_name == 'POLY_ID':\n        if fld0 is not None and fld1 is not None and fld2 is not None:\n            calc_exp_res = (str(int(fld0)) + '+' + str(int(fld1)) + '+' +\n                            str(int(fld2)))\n        elif fld0 is not None and fld1 is not None and fld2 is None:\n            calc_exp_res = str(int(fld0)) + '+' + str(int(fld1))\n        elif fld0 is not None and fld1 is None and fld2 is None:\n            calc_exp_res = str(int(fld0))\n        elif old_fld is not None:\n            calc_exp_res = str(old_fld)\n    elif new_fld_name == 'POLY_NAME':\n        if fld0 is not None and fld1 is not None and fld2 is not None:\n            calc_exp_res = (fld0.encode(ecode) + '+' + fld1.encode(ecode) +\n                            '+' + fld2.encode(ecode))\n        elif fld0 is not None and fld1 is not None and fld2 is None:\n            calc_exp_res = fld0.encode(ecode) + '+' + fld1.encode(ecode)\n        elif fld0 is not None and fld1 is None and fld2 is None:\n            calc_exp_res = fld0.encode(ecode)\n        elif old_fld is not None:\n            calc_exp_res = old_fld.encode(ecode)\n    elif new_fld_name == 'GS_START' or new_fld_name == 'WS_START':\n        calc_exp_res = int(old_fld)\n    # print(calc_exp_res)  # for debugging\n    return calc_exp_res\n"</Process><Process ToolSource="c:\arcgis\desktop10.3\ArcToolbox\Toolboxes\Data Management Tools.tbx\DeleteField" Date="20190528" Time="113440">DeleteField D:\SMB3\sharedwebfs1\development\fews\EWX_G5\vector_data\Global_v0\g2008_0.shp FEWS_ID</Process><Process ToolSource="c:\arcgis\desktop10.3\ArcToolbox\Toolboxes\Data Management Tools.tbx\AddField" Date="20190528" Time="113441">AddField D:\SMB3\sharedwebfs1\development\fews\EWX_G5\vector_data\Global_v0\g2008_0.shp GS_START SHORT 5 # # # NULLABLE NON_REQUIRED #</Process><Process ToolSource="c:\arcgis\desktop10.3\ArcToolbox\Toolboxes\Data Management Tools.tbx\AddField" Date="20190528" Time="113443">AddField D:\SMB3\sharedwebfs1\development\fews\EWX_G5\vector_data\Global_v0\g2008_0.shp WS_START SHORT 5 # # # NULLABLE NON_REQUIRED #</Process><Process ToolSource="c:\arcgis\desktop10.3\ArcToolbox\Toolboxes\Data Management Tools.tbx\RepairGeometry" Date="20190528" Time="113921">RepairGeometry D:\SMB3\sharedwebfs1\development\fews\EWX_G5\vector_data\Global_v0\g2008_0.shp DELETE_NULL</Process></lineage><itemProps><itemLocation><linkage Sync="TRUE">file://\\igskmncngs103\e$\FEWS\resources\data\GAUL\Global\global_g2008_0</linkage><protocol Sync="TRUE">Local Area Network</protocol></itemLocation></itemProps><copyHistory><copy source="T:\FEWS\resources\data\GAUL\Africa\global_g2008_0" dest="\\igskmncngs103\e$\FEWS\resources\data\GAUL\Global\global_g2008_0" date="20130604" time="09544400"></copy></copyHistory></DataProperties></Esri></metadata>
