Open atteggiani opened 7 months ago
Refactor the commands.um2nc module::
commands.um2nc
mule
iris
iris.load()
um2nc.cubewrite()
save()
main()
Additional tasks:
pytest
coverage.py
pytest-cov
Refactor the
commands.um2nc
module::mule
&iris
ops out to separate functions)iris.load()
to filter to required cubes first and reduces repeated filtering further down in the function bodyum2nc.cubewrite()
save()
relying on the file extension?main()
?