mllam / neural-lam

Neural Weather Prediction for Limited Area Modeling
MIT License
64 stars 25 forks source link

Add mermaidjs based code diagram #9

Open leifdenby opened 4 months ago

leifdenby commented 4 months ago

To aid discussion around refactoring the code and allow for easy modification of the code diagram in future I have created a mermaidjs based diagram in the README in place of the graphic that was there previously. Please have a look @joeloskarsson if you think this covers what the old diagram did.

Here's a direct link in the README: https://github.com/leifdenby/neural-lam/tree/feat/readme-code-diagram?tab=readme-ov-file#pre-processing, and a screenshot from vscode:

image

leifdenby commented 4 months ago

@joeloskarsson I updated the diagram because I realised that I had slightly misunderstood the shapes of what is in the .npy-files. I made the following notebook which plots each of the inputs you use, just for myself to learn what the shapes of what everything is: https://github.com/leifdenby/neural-lam/blob/examining-inputs/notebooks/examining_inputs.ipynb