Global-Flood-Assessment / MoMProduction

Production setup for ModelofModels
1 stars 1 forks source link

GFMS duration error: #20

Closed webgisdeveloper closed 1 year ago

webgisdeveloper commented 2 years ago

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

webgisdeveloper commented 2 years ago

caused by file download issue:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

403 Forbidden

Forbidden

You don't have permission to access /flood/download/2020/202003/Flood_byStor_2020032800.bin on this server.


Apache/2.2.15 (Red Hat) Server at eagle2.umd.edu Port 80
webgisdeveloper commented 2 years ago

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