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

Merged
merged 10 commits into from
Feb 24, 2025

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
Copy link

@vutrannasa vutrannasa left a comment

Choose a reason for hiding this comment

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

Test: PASS

2366626_SMAP_L2_SM_P_E_00872_D_20150401T044811_R19240_001_regridded.nc
Downloaded: 2366626_SMAP_L2_SM_P_E_00872_D_20150401T044811_R19240_001_regridded.nc
Saved output to: [/var/folders/sx/4dq8dzl54g3gd58k8k9thd6r0000gp/T/tmpxzdvdihb/SPL2SMP_E.nc](https://file+.vscode-resource.vscode-cdn.net/var/folders/sx/4dq8dzl54g3gd58k8k9thd6r0000gp/T/tmpxzdvdihb/SPL2SMP_E.nc)
Success: SPL2SMP_E Test.
2366628_SMAP_L2_SM_AP_01058_D_20150413T220114_R13080_001_regridded.nc
Downloaded: 2366628_SMAP_L2_SM_AP_01058_D_20150413T220114_R13080_001_regridded.nc
Saved output to: [/var/folders/sx/4dq8dzl54g3gd58k8k9thd6r0000gp/T/tmp8yam8kel/SPL2SMAP.nc](https://file+.vscode-resource.vscode-cdn.net/var/folders/sx/4dq8dzl54g3gd58k8k9thd6r0000gp/T/tmp8yam8kel/SPL2SMAP.nc)
Success: SPL2SMAP Test.
2366630_SMAP_L2_SM_A_01058_D_20150413T220200_R13080_001_regridded.nc
Downloaded: 2366630_SMAP_L2_SM_A_01058_D_20150413T220200_R13080_001_regridded.nc
Saved output to: [/var/folders/sx/4dq8dzl54g3gd58k8k9thd6r0000gp/T/tmpidaqfvjl/SPL2SMA.nc](https://file+.vscode-resource.vscode-cdn.net/var/folders/sx/4dq8dzl54g3gd58k8k9thd6r0000gp/T/tmpidaqfvjl/SPL2SMA.nc)
Success: SPL2SMA Test.
2366632_SMAP_L2_SM_P_00872_D_20150401T044811_R19240_001_regridded.nc
Downloaded: 2366632_SMAP_L2_SM_P_00872_D_20150401T044811_R19240_001_regridded.nc
Saved output to: [/var/folders/sx/4dq8dzl54g3gd58k8k9thd6r0000gp/T/tmp4snxxhiq/SPL2SMP.nc](https://file+.vscode-resource.vscode-cdn.net/var/folders/sx/4dq8dzl54g3gd58k8k9thd6r0000gp/T/tmp4snxxhiq/SPL2SMP.nc)
Success: SPL2SMP Test.
Success: Entire Test Suite.

@flamingbear flamingbear merged commit 54f6e5c into main Feb 24, 2025
4 checks passed
@flamingbear flamingbear deleted the mhs/DAS-2294/add-spl2smp-regression branch February 24, 2025 23:21
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.

2 participants