Skip to content

Commit

Permalink
update metadata and test build script
Browse files Browse the repository at this point in the history
  • Loading branch information
mattldawson committed Oct 10, 2024
1 parent aafd074 commit 4660749
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 4 deletions.
22 changes: 20 additions & 2 deletions schemes/musica/musica_ccpp.meta
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@
[ccpp-arg-table]
name = musica_ccpp_init
type = scheme
[ vertical_layer_dimension ]
standard_name = vertical_layer_dimension
units = none
type = integer
dimensions = ()
intent = in
[ vertical_interface_dimension ]
standard_name = vertical_interface_dimension
units = none
type = integer
dimensions = ()
intent = in
[ errmsg ]
standard_name = ccpp_error_message
units = none
Expand Down Expand Up @@ -59,8 +71,14 @@
type = real | kind = kind_phys
dimensions = (horizontal_loop_extent,vertical_layer_dimension,number_of_ccpp_constituents)
intent = inout
[ height ]
standard_name = ccpp_height
[ height_midpoints ]
standard_name = ccpp_height_midpoints
units = km
type = real | kind = kind_phys
dimensions = (horizontal_loop_extent,vertical_layer_dimension)
intent = in
[ height_interfaces ]
standard_name = ccpp_height_interfaces
units = km
type = real | kind = kind_phys
dimensions = (horizontal_loop_extent,vertical_layer_dimension)
Expand Down
4 changes: 2 additions & 2 deletions test/musica/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ find_package(Python REQUIRED)
file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/metadata_test)
add_custom_target(
copy_metadata_test_files ALL ${CMAKE_COMMAND} -E copy
${CMAKE_CURRENT_SOURCE_DIR}/../../musica/musica_ccpp.meta
${CMAKE_CURRENT_SOURCE_DIR}/../../musica/musica_ccpp.F90
${CMAKE_CURRENT_SOURCE_DIR}/../../schemes/musica/musica_ccpp.meta
${CMAKE_CURRENT_SOURCE_DIR}/../../schemes/musica/musica_ccpp.F90
${CMAKE_BINARY_DIR}/metadata_test
)

Expand Down

0 comments on commit 4660749

Please sign in to comment.