Clean up - #123
Conversation
|
Added a couple of eval notebooks. |
|
Don't know how I missed this, this looks great to me. |
jsauer-NCAR
left a comment
There was a problem hiding this comment.
Docstrings and cleanup generally improve things thanks.
For the change in data.py (lines 595-596) away from open_mfdataset to an inline concatenation (along sample dimension) of separately opened, but combined eagerly loaded files (in lines 598-599), does this actually improve performance?
I'd like to suggest someone go through and make sure we do not have any hard coded paths anywhere in the repository that are specific to our work in the NCAR HPC environment. Since the purpose of these latest revisions are to prepare for an open release of this repository and code base it should probably not contain any of our own specific paths.
I have noticed an improvement using this method for other projects, but I'm unsure if it is universally better. I think it often depends on chunking, dimension sizes (i.e. if a concatenation dimension already exists or not, etc.), or other factors.
I can go through and verify that all scripts and modules are free of GLADE paths. But what about evaluation notebooks? It is unlikely we'll be able put any meaningful amount of data in the actual repository for analysis. Some potential options:
|
|
I feel like option 3 above is most ideal, but perhaps a heavier or longer-time-requirement lift. Option 2 seems the most effective/economical in terms of effort and time in the short term. @charlie-becker Do you think we could put in placeholders as comment/explicit-guidance lines like "blah=INSERT_PATH_TO_YOUR_DATA_FILE" kind of thing wherever appropriate? |
Successfully tested code for generating / sampling LES data and training of all model types. Still need to add a evaluation notebook that come shortly.