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

DAS-2294: Add configuration and reference files for spl2smp #137

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

flamingbear
Copy link
Member

@flamingbear flamingbear commented Feb 19, 2025

Description

Adds configuration and reference files for smap-l2-gridder regression tests to handle SPL2SMP processing.

Jira Issue ID

DAS-2294

Local Test Steps

  • Pull this branch.

  • Make sure you have pulled the actual git-lfs files down.

  • build and run against localhost with Harmony-In-A-Box (that includes smap-l2-gridder v0.3.0) by creating a conda env and pointing the notebook at http://localhost:3000

  • build the image and test against SIT.

    • make smap-l2-gridder-image
    • set environment
      export HARMONY_HOST_URL=https://harmony.sit.earthdata.nasa.gov
      export EDL_USER=...
      export EDL_PASSWORD=...
    • ./run_notebooks.sh smap-l2-gridder
    • Check the output is what is expected. It should show the tests ran as output in the last cell.
      2366125_SMAP_L2_SM_P_E_00872_D_20150401T044811_R19240_001_regridded.nc
      Downloaded: 2366125_SMAP_L2_SM_P_E_00872_D_20150401T044811_R19240_001_regridded.nc
      Saved output to: /tmp/tmp2japh8zz/SPL2SMP_E.nc
      Success: SPL2SMP_E Test.
      2366127_SMAP_L2_SM_AP_01058_D_20150413T220114_R13080_001_regridded.nc
      Downloaded: 2366127_SMAP_L2_SM_AP_01058_D_20150413T220114_R13080_001_regridded.nc
      Saved output to: /tmp/tmpvf_4b67e/SPL2SMAP.nc
      Success: SPL2SMAP Test.
      2366129_SMAP_L2_SM_A_01058_D_20150413T220200_R13080_001_regridded.nc
      Downloaded: 2366129_SMAP_L2_SM_A_01058_D_20150413T220200_R13080_001_regridded.nc
      Saved output to: /tmp/tmp1czu3146/SPL2SMA.nc
      Success: SPL2SMA Test.
      2366131_SMAP_L2_SM_P_00872_D_20150401T044811_R19240_001_regridded.nc
      Downloaded: 2366131_SMAP_L2_SM_P_00872_D_20150401T044811_R19240_001_regridded.nc
      Saved output to: /tmp/tmp27zyl5mo/SPL2SMP.nc
      Success: SPL2SMP Test.
      Success: Entire Test Suite.
      

PR Acceptance Checklist

  • Acceptance criteria met
  • Tests added/updated (if needed) and passing
  • Documentation updated (if needed)
  • CHANGELOG updated with the changes for this PR
  • Service's version.txt file changed if appropriate

@flamingbear flamingbear marked this pull request as ready for review February 19, 2025 23:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant