pacificclimate / modelmeta

An ORM representation of the model metadata database
GNU General Public License v3.0
1 stars 0 forks source link

Clarify status messages for associate_ensemble when -V argument is used #59

Open corviday opened 6 years ago

corviday commented 6 years ago

Associate_ensemble's-V argument lets the user specify a list of variables to add to an ensemble (ensemble associations are done at the variable level). If a file does not contain any variables from the list, it will not be added to the ensemble. This all works perfectly.

However, if a file is not added to the ensemble because it does not contain any of the requested variables, the logger will still display

INFO: Processing filepath [file]
INFO: Associating DataFile: [file]

which is confusing. There should be an explicit mention of the fact that the file is NOT associated to the ensemble because it does not contain any of the requested variables.