Read only arrays of scalars in PSyclone
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
There are a handful of PSyKAl-lite subroutines which exist because there isn't support in PSyclone for passing a read-only array of scalars. These subroutines are -
invoke_spectral_2_cs_kernel_typeinvoke_heaviside_kernel_typeinvoke_temp_on_pres_kernel_typeinvoke_pres_interp_kernel_typeinvoke_geo_on_pres_kernel_type
and are all found in science/um_physics_interface/source/psy/psykal_lite_phys_mod. To reduce clutter in the issue I will just list the various scripts that these are called from -
science/um_physics_interface/source/algorithm/stph_fp_main_alg_mod.x90science/um_physics_interface/source/algorithm/pres_lev_diags_alg_mod.x90science/um_physics_interface/source/algorithm/rh_diag_alg_mod.x90
There is also a PSyKAl-lite subroutine called invoke_atl_poly1d_vert_w3_recon_kernel_type in science/adjoint/source/psy/transport/mol/invoke_atl_poly1d_vert_w3_recon_mod.F90.
The corresponding PSyclone issue for this is PSyclone #1312.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the listed PSyKAl-lite subroutines in science/um_physics_interface/source/psy/psykal_lite_phys_mod and invoke_atl_poly1d_vert_w3_recon_kernel_type in science/adjoint/source/psy/transport/mol/invoke_atl_poly1d_vert_w3_recon_mod.F90. Review PSyclone issue #1312 and the listed algorithm callers; done means the read-only scalar arrays no longer require these workaround subroutines while the affected callers remain valid.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- fortran
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100