Global-Flood-Assessment / MoMProduction

Production setup for ModelofModels
1 stars 1 forks source link

Meta Issue to improve the code quality #50

Open webgisdeveloper opened 1 year ago

webgisdeveloper commented 1 year ago

VSCode setup: auto formatting with black and isort on save

  "[python]": {
    "editor.defaultFormatter": "ms-python.black-formatter",
    "editor.formatOnSave": true,
    "editor.codeActionsOnSave": {
        "source.organizeImports": true
    },
  },
  "isort.args":["--profile", "black"],
webgisdeveloper commented 1 year ago

hwrf_workflow function to simplify the call from other scripts

webgisdeveloper commented 1 year ago

37 find the latest file by string sort directly (ISO format)

webgisdeveloper commented 1 year ago

52 trim the late date from DFO listing

webgisdeveloper commented 1 year ago

41 a new function to handle no-data situation

webgisdeveloper commented 1 year ago

55 fix final outputs performance issue