Skip to content

Commit

Permalink
filter null ocean colour data
Browse files Browse the repository at this point in the history
  • Loading branch information
twsearle committed Oct 11, 2024
1 parent 0055788 commit 64e7d4f
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ add_subdirectory( src )

add_subdirectory ( docs )

add_subdirectory ( share )

################################################################################
# Export and summarize

Expand Down
20 changes: 20 additions & 0 deletions share/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# (C) British Crown Copyright 2024 Met Office

list( APPEND shared_files
odb_col_chl_query_filter_null.yaml
)

set( destination share/orca-jedi/odb-query )

install(
FILES ${shared_files}
DESTINATION ${destination}
PERMISSIONS OWNER_READ GROUP_READ WORLD_READ)

file( MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/${destination} )

foreach( file ${shared_files} )
execute_process(COMMAND "${CMAKE_COMMAND}" "-E" "copy_if_different"
"${CMAKE_CURRENT_SOURCE_DIR}/${file}"
"${CMAKE_BINARY_DIR}/${destination}/${file}")
endforeach()
15 changes: 15 additions & 0 deletions share/odb_col_chl_query_filter_null.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
where:
varno: [288,]
query: initial_obsvalue is not null
variables:
- name: receipt_time
- name: receipt_date
- name: initial_obsvalue
- name: instrument_type
- name: lat
- name: lon
- name: date
- name: time
- name: ops_obsgroup
- name: varno
- name: seqno

0 comments on commit 64e7d4f

Please sign in to comment.