I think it would be nice if the list of files from adf11 (and all other file formats) would be accessible without calling the populate method in create.py.
I would like to create a unittest comparing interpolated data with the adas original data to test for any inconsistencies.
I suggest moving the dictionaries holding the element information and the download_cache paths out of populate method (it can be kept in the same file). This way it could be imported from the unittest methods. The unittest could then download the file, if it was missing, and could parse and get the raw data directly.
What do you think @mattngc, @CnlPepper ?
I think it would be nice if the list of files from adf11 (and all other file formats) would be accessible without calling the populate method in create.py.
I would like to create a unittest comparing interpolated data with the adas original data to test for any inconsistencies.
I suggest moving the dictionaries holding the element information and the download_cache paths out of populate method (it can be kept in the same file). This way it could be imported from the unittest methods. The unittest could then download the file, if it was missing, and could parse and get the raw data directly.
What do you think @mattngc, @CnlPepper ?