Skip to content

Stat Analysis Implementation#6

Closed
kevindougherty-noaa wants to merge 21 commits into
feature/anlstatfrom
feature/anlstat-kd
Closed

Stat Analysis Implementation#6
kevindougherty-noaa wants to merge 21 commits into
feature/anlstatfrom
feature/anlstat-kd

Conversation

@kevindougherty-noaa
Copy link
Copy Markdown
Collaborator

First pass at adding stat analysis script to copy appropriate stat files.

Comment thread ush/python/pygfs/task/stat_analysis.py
Copy link
Copy Markdown
Owner

@CoryMartin-NOAA CoryMartin-NOAA left a comment

Choose a reason for hiding this comment

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

Some comments, let's discuss this AM

#! /usr/bin/env bash

source "${HOMEgfs}/ush/preamble.sh"
export DATA=${DATA:-${DATAROOT}/${RUN}statanl_${cyc}}
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

This is only needed if we intend on changing the path for DATA from the default

Comment thread parm/config/gfs/config.analstat Outdated
# Get task specific resources
source "${EXPDIR}/config.resources" anlstat

echo "END: config.anlstat" No newline at end of file
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

nearly duplicate file? probably needs removed


from wxflow import Logger, cast_strdict_as_dtypedict
from pygfs.task.atm_analysis import AtmAnalysis
from pygfs.task.stat_analysis import StatAnalysis
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

We should change to using the new Jedi class

Comment thread sorc/link_workflow.sh Outdated
if [[ -d "${HOMEgfs}/sorc/gdas.cd" ]]; then
cd "${HOMEgfs}/parm/gdas" || exit 1
declare -a gdasapp_comps=("aero" "atm" "io" "ioda" "snow" "soca" "jcb-gdas" "jcb-algorithms")
declare -a gdasapp_comps=("aero" "atm" "io" "ioda" "snow" "soca" "stats" "jcb-gdas" "jcb-algorithms")
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

thinking about this more, I think we just need snow/stats, soca/stats, aero/stats, atm/stats, rather than a stats dir

logger = getLogger(__name__.split('.')[-1])


class StatAnalysis(Analysis):
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

see comment above about that we should migrate to the new Jedi class

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

@kevindougherty-noaa
Copy link
Copy Markdown
Collaborator Author

Outdated and replaced by PR #8. Closing..

@CoryMartin-NOAA CoryMartin-NOAA deleted the feature/anlstat-kd branch October 21, 2025 15: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.

2 participants