ERDDAP / erddap

ERDDAP is a scientific data server that gives users a simple, consistent way to download subsets of gridded and tabular scientific datasets in common file formats and make graphs and maps. ERDDAP is a Free and Open Source (Apache and Apache-like) Java Servlet from NOAA NMFS SWFSC Environmental Research Division (ERD).
Creative Commons Zero v1.0 Universal
84 stars 58 forks source link

Please show loadDatasets progress diagnostics #91

Closed BobSimons closed 1 year ago

BobSimons commented 1 year ago

Sometimes loadDatasets progresses slowly. It would be nice to have some insight into what is going on without delving into log.txt. Currently, status.html displays a message like Last major LoadDatasets started 3h 34m 4s ago and is still running. It would be nice if instead it said Last major LoadDatasets started 3h 34m 4s ago and is loading dataset #x datasetID (elapsed time) where x is the count of the number of datasets loadDatasets has actively tried to load where datasetID is the datasetID of the currently loading dataset and where elapsed time is the time spent so far loading that dataset (in the same #h #m #s format, there's a method for that in Calendar2 (elapsedTime()?)). I know Roy Mendelssohn, for one, would be very grateful for a feature like this.

BobSimons commented 1 year ago

I made a small change to the original idea (now, it's a separate line). The change is done and works well.