Closed webgisdeveloper closed 1 year ago
caused by file download issue:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
You don't have permission to access /flood/download/2020/202003/Flood_byStor_2020032800.bin on this server.
remove all the temp files and re-download files, the normal bin file size is 7.6M os.path.getsize("Flood_byStor_2022033009.bin") 7865600
File "/home/cicuser/Projects/MoMProduction/GFMS_tool.py", line 364, in
df['GFMS_Duration'] = df.apply(lambda row: 3 + int(row.GFMS_Duration0) if (row.GFMS_TotalArea_km > 100.0) else 0, axis = 1)
ValueError: cannot convert float NaN to integer