PSyclone
PSyclone copied to clipboard
Accessing GOcean Kernel Metadata
We need a simple way to read, access, manipulate and write Kernel metadata. In the short term this is required for LFRic Algorithm PSyIR where we need to know kernel metadata when determining the expected argument types within invokes. It should also be useful for psyad where we need to modify kernel metadata. It will also be useful to validate algorithm types with their expected types and could be used when generating and validating kernel arguments.
Created branch 1631_kernel_metadata
The above branch will add initial support for reading gocean1.0 kernel metadata, with lfric kernel metadata being added afterwards in a separate PR. This new approach will eventually replace the existing implementation in parse/kernel.py (which still uses fparser1 in some places!!!).
gocean kernel metadata has been updated. Closing this issue.