You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the Code2FN pipeline can ingest 50 out of the 52 Python files in the CISM model.
The bulk of them were taken care of due to Vincent's Python 2 to Python 3 conversion.
The last two files have some other issues involving Python generation.
Investigate what's causing the issues and resolve them.
The content you are editing has changed. Please copy your edits and refresh the page.
Update 01/30/24
I've done some looking into the files, to see what they consist of and what pieces are breaking.
utils/build/generate_ncvars.py
This file seems to be used for generating the source code files for variable definition files. It contains mainly tools for 'printing' variable definitions according to some templates. It doesn't seem to have anything to do with scientific computation, but more with displaying data.
The main bugs with this file in the Python to CAST generation are function calls of elements that are being accessed from lists, like x[foo].bar()
This hasn't been supported up to this point, as this hasn't come up. It's not super difficult to fix, but it is something that isn't supported, so it's breaking.
tests/viewNetCDF.py
This file contains a bunch of code to create a GUI to display Glimmer files. There's no scientific computation happening here it seems.
This has a more complicated issue. In particular there's some Python generation for an edge case of Assignment with a Binary Operation in an unusual place (Maybe on the left side of the assignment, perhaps in a list indexing).
This is more complicated to fix, and it may have some implications on some Gromet generation.
For now, we'll put this investigation on pause to work on more pressing issues.
titomeister
added
the
Proposed
This is a label for proposed future issues to be addressed beyond ASKEM phase 1
label
Mar 8, 2024
Currently the Code2FN pipeline can ingest 50 out of the 52 Python files in the CISM model.
The bulk of them were taken care of due to Vincent's Python 2 to Python 3 conversion.
The last two files have some other issues involving Python generation.
Investigate what's causing the issues and resolve them.
Tasks
The text was updated successfully, but these errors were encountered: