informatics-lab / precip_rediagnosis

Project to use ML to re-diagnose precipitation fields from ensemble model fields
0 stars 0 forks source link

Review of extract code #79

Closed hannahbrown7 closed 1 year ago

hannahbrown7 commented 1 year ago

Main things:

Minor things:

stevehadd commented 1 year ago

Changes made on branch prd79_data_prep_review

Main things:

  • End dates seem to be inconsistent for Oct 2020 and Oct 2021 amber warnings events. I believe this was because I had updated the code to ensure the last timestep in the dataset aligned with the end time in the config file
  • drivers.py lines 299-301 and lines 302/303 - same merge repeated twice I've removed the duplicated lines.
  • It might be good to remove specific dates from template file and just include format expected "YYYY-MM-DDTHH:mm:ssZ"

Good idea, I've update the template file.

Minor things:

  • drivers.py line 289 f-string missing curly brackets around vars1 Fixed.
  • drivers.py line 344 - function not being called with arguments, may just need to be removed Suprious line of code removed.
  • extract_data.py line 101/102 repeated Repeat removed