Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding ocean basin in the Metadata #732

Merged
merged 1 commit into from
Nov 16, 2023
Merged

Conversation

guillaumevernieres
Copy link
Contributor

@guillaumevernieres guillaumevernieres commented Nov 15, 2023

What was done

  • Reorganization of what's in NetCDFToIodaConverter.h: Moved structs and functions to util.h as an attempt to make the code slightly cleaner
  • Added a simple OceanMask struct that reads in regional ocean masks from reccap2 ocean mask. The struct has a method to return the integer mask at a specific location.
  • Fixed a bug in trim, related to the optional float metadata
  • implementation of the new feature in the RADS converter

Notes

It's currently not part of the CI, something to think about in the future. We could add RECCAP2_region_masks_all_v20221025.nc to the tarball or stage it on hpc somewhere ...

Copy link
Collaborator

@ShastriPaturi ShastriPaturi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine to me. Didn't run for RADS to test the ocean basins

@guillaumevernieres guillaumevernieres added hera-GW-RT Queue for automated testing with global-workflow on Hera orion-GW-RT Queue for automated testing with global-workflow on Orion labels Nov 15, 2023
@emcbot emcbot added hera-GW-RT-Running Automated testing with global-workflow running on Hera orion-GW-RT-Running Automated testing with global-workflow running on Orion and removed hera-GW-RT Queue for automated testing with global-workflow on Hera orion-GW-RT Queue for automated testing with global-workflow on Orion labels Nov 15, 2023
@guillaumevernieres
Copy link
Contributor Author

Tested with more obs:
ocean-basins

@emcbot
Copy link

emcbot commented Nov 15, 2023

Automated Global-Workflow GDASApp Testing Results:
Machine: hera

Start: Wed Nov 15 22:33:26 UTC 2023 on hfe07
---------------------------------------------------
Build:                                 *SUCCESS*
Build: Completed at Wed Nov 15 23:17:46 UTC 2023
---------------------------------------------------
Tests:                                  *Failed*
Tests: Failed at Wed Nov 15 23:56:02 UTC 2023
Tests: 79% tests passed, 11 tests failed out of 53
	1584 - test_gdasapp_convert_bufr_temp_dbuoy (Failed)
	1585 - test_gdasapp_convert_bufr_salt_dbuoy (Failed)
	1586 - test_gdasapp_convert_bufr_temp_mbuoyb (Failed)
	1587 - test_gdasapp_convert_bufr_salt_mbuoyb (Failed)
	1588 - test_gdasapp_convert_bufr_tesacprof (Failed)
	1589 - test_gdasapp_convert_bufr_trkobprof (Failed)
	1590 - test_gdasapp_convert_bufr_sfcships (Failed)
	1591 - test_gdasapp_convert_bufr_sfcshipsu (Failed)
	1606 - test_gdasapp_soca_incr_handler (Failed)
	1612 - test_gdasapp_convert_bufr_adpsfc_snow (Failed)
Tests: see output at /scratch1/NCEPDEV/da/Cory.R.Martin/CI/GDASApp/workflow/PR/732/global-workflow/sorc/gdas.cd/build/log.ctest

@emcbot emcbot added hera-GW-RT-Failed Automated testing with global-workflow failed on Hera and removed hera-GW-RT-Running Automated testing with global-workflow running on Hera labels Nov 15, 2023
@emcbot
Copy link

emcbot commented Nov 16, 2023

Automated Global-Workflow GDASApp Testing Results:
Machine: orion

Start: Wed Nov 15 16:31:21 CST 2023 on Orion-login-1.HPC.MsState.Edu
---------------------------------------------------
Build:                                 *SUCCESS*
Build: Completed at Wed Nov 15 17:40:53 CST 2023
---------------------------------------------------
Tests:                                  *Failed*
Tests: Failed at Wed Nov 15 18:43:33 CST 2023
Tests: 79% tests passed, 11 tests failed out of 53
	1584 - test_gdasapp_convert_bufr_temp_dbuoy (Failed)
	1585 - test_gdasapp_convert_bufr_salt_dbuoy (Failed)
	1586 - test_gdasapp_convert_bufr_temp_mbuoyb (Failed)
	1587 - test_gdasapp_convert_bufr_salt_mbuoyb (Failed)
	1588 - test_gdasapp_convert_bufr_tesacprof (Failed)
	1589 - test_gdasapp_convert_bufr_trkobprof (Failed)
	1590 - test_gdasapp_convert_bufr_sfcships (Failed)
	1591 - test_gdasapp_convert_bufr_sfcshipsu (Failed)
	1606 - test_gdasapp_soca_incr_handler (Failed)
	1612 - test_gdasapp_convert_bufr_adpsfc_snow (Failed)
Tests: see output at /work2/noaa/stmp/cmartin/CI/GDASApp/workflow/PR/732/global-workflow/sorc/gdas.cd/build/log.ctest

@emcbot emcbot added orion-GW-RT-Failed Automated testing with global-workflow failed on Orion and removed orion-GW-RT-Running Automated testing with global-workflow running on Orion labels Nov 16, 2023
@guillaumevernieres
Copy link
Contributor Author

Well ... That's a new one

1606 - test_gdasapp_soca_incr_handler (Failed)

Copy link
Collaborator

@AndrewEichmann-NOAA AndrewEichmann-NOAA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nothing obviously wrong

@AndrewEichmann-NOAA
Copy link
Collaborator

Tested with more obs: ocean-basins

What's zero/red? Continental shelf?

@guillaumevernieres
Copy link
Contributor Author

Tested with more obs: ocean-basins

What's zero/red? Continental shelf?

Yes @AndrewEichmann-NOAA . I wonder if we should make sure we don't flag land ... Humm ...

@guillaumevernieres guillaumevernieres merged commit c607b20 into develop Nov 16, 2023
17 checks passed
@CoryMartin-NOAA CoryMartin-NOAA deleted the feature/ocean_basins branch November 17, 2023 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hera-GW-RT-Failed Automated testing with global-workflow failed on Hera orion-GW-RT-Failed Automated testing with global-workflow failed on Orion
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants