-
Notifications
You must be signed in to change notification settings - Fork 15
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
updated_processings_v20231204 #77
Open
yyplanton
wants to merge
38
commits into
master
Choose a base branch
from
updated_processings_v20231204
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…, enso pattern and enso life cycle
…d era (1901-2010) and mix (any period available for obs and model)
…e arrays are averaged (lat or lon) afterwards new threshold to mask land or ocean
Compute: N3 PR and N3.4 SST mean, skewness, variance Goal: find out if there is a general relationship between epoch length and ensemble variance
…tats' I'm afraid that N3.4 SST skewness may swing between positive and negative in some model so the noise-to-signal ratio (used for the accuracy on the ensemble-mean) may not be a good measure
collections created: 'ENSO_eq_stat2' and 'ENSO_eq_stat3' EnsoMetricsLib.py metrics created: 'dcorr' (same as nstar but here the decorrelation time is saved), 'enso_wait_time' (number of months between ENSO events) metrics modified: 'nstar' and 'stat_box' (correction of supplementary diagnostics saved in netCDF, ability to compute of gradient) EnsoUvcdatToolsLib.py function created: 'enso_time_interval' used by metric 'enso_wait_time' to count the number of months between ENSO events function modified: 'DetectEvents' so that it is similar as 'enso_time_interval'
for the keyword 'statistic', the value 'time mean' has been replaced by 'average' EnsoMetricsLib.py keyword 'event_definition' has been replaced by 'enso_definition' metric enso_wait_time: 1) a statistic (string) needs to be defined in the metrics collection to define the metric ('average', 'skewness', 'standard deviation', 'variance') 2) 'wait_definition' (dictionary) must be defined in the metrics collection to define how the time interval between events are computed ('detect': intervals between witch enso events, 'method': just interval between event years or from peak to peak, 'smoothing': smoothing method/window to detect peaks, if applicable) KeyArgLib.py keywords 'event_definition' and 'wait_definition' have now a default value EnsoUvcdatToolsLib.py function enso_time_interval: user now defines intervals between witch enso events are computed ('detect') and the smoothing method/window to detect peaks, if applicable ('smoothing') function ReadLandmaskSelectRegion: 1) simplified (loop on both variable file and landmask file, loop on possible variables) 2) calls EstimateLandmask with a global grid if needed EnsoToolsLib.py function simple_stats created, returns mean (numpy), skewness (scipy), standard deviation (numpy) and variance (numpy) of given array along given axis
metric enso_wait_time: 1) enso_method corrected (the string was replaced instead of added) 2) metric name & method, 'ENSO' replaced by given keyword 'detect' 3) keyword 'compute_anom' added when calling the function enso_time_interval EnsoUvcdatToolsLib.py function enso_time_interval: 1) keyword 'compute_anom' is added (as in DetectEvents) to detect the peak using interannual anomalies 2) description corrected (the string was replaced instead of added)
metrics collection ENSO_eq_stats2: 1) stat_box_ave_pr_global: the quantification of the global mean precipitation is added to this collection EnsoMetricsLib.py metrics dcorr, enso_wait_time, nstar, stat_box: 1) minor correction of the value given to 'method_var' (variable describing the computation done for the metric)
create file 'enso_xarray_lib.py' with first functions to convert from cdat to xcdat (read, add, multiply, mask,...)
trying to figure out how to loop on them after reading files
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.