Ashar25 / RainyDay

0 stars 1 forks source link

When creating a new storm catalog, delete existing files #20

Closed danielbwright closed 10 months ago

danielbwright commented 11 months ago

If someone is creating a new set of storm catalog files, check first to see if those files exist and if they do, delete them. I have been encountering weird permissions problems when attempting to overwrite existing storm catalog files.

Ashar25 commented 11 months ago

I will try to do this. I also faced this issue in mac. Although, I have never seen something like this in windows. The windows automatically replaces the existing files if they have same name. I will look trough this.

danielbwright commented 11 months ago

Please only delete these after the storms have been identified, rather than at the beginning of the code.

danielbwright commented 11 months ago

This is a high priority.

Ashar25 commented 11 months ago

Done. Little difficult to check but I hope it is working now.

danielbwright commented 11 months ago

We need to reopen this, because it isn't working right. Please test on a larger set of storms (I think you said you only used 3). When the number goes beyond 9, problems will appear since the list is not correctly sorted.