Today I felt we spent quite some time on reading in the data. We got into the habit of sharing some of our code, first through pasting it in GitHub issues, then by opening a pull request (#40).
One thing we learned is that, while it's okay to update the data, it's annoying of the filenames, or the variable names in the files, change. Also, we realized that not all data had the same conventions for naming of and direction of coordinated.
I think we can take this a few steps further. Here are some ideas:
It would be great if, by the end of the week, the data is a bit more stabilized and more uniform. Eventually, we could upload it, for example to the 4tu data repository, so everyone can reuse it, and it can be cited.
It would also be nice if we can take Chris' scripts and the data reading code we developed today, and turn that into a 'proper' python package. It could look something like this:
from leiden-mt import list_models, load_data, plot_difference
list_models
# prints list of models
# load all data in one go, or perhaps have several commanda for different views of the data
ds = load_data(model='all')
# Have some utilities available
plot_difference(ds, model1='wam2layers', model2='lagranto-watersip')
The notebooks could then be generated with the functions in this package. We can make the package pip-installable.
I'd be happy to make a start with this, or help others that want to give it a go.
Hi all,
Today I felt we spent quite some time on reading in the data. We got into the habit of sharing some of our code, first through pasting it in GitHub issues, then by opening a pull request (#40).
One thing we learned is that, while it's okay to update the data, it's annoying of the filenames, or the variable names in the files, change. Also, we realized that not all data had the same conventions for naming of and direction of coordinated.
I think we can take this a few steps further. Here are some ideas:
The notebooks could then be generated with the functions in this package. We can make the package pip-installable.
I'd be happy to make a start with this, or help others that want to give it a go.