-
Notifications
You must be signed in to change notification settings - Fork 100
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
Debug issues with preprocessor parsing pod settings file #682
base: main
Are you sure you want to change the base?
Conversation
Add WWE_diag_tools.py to git tracking Add ID_WWEs.py to git tracking
…ules when compiling software package
… taux_diag to WWEs
Add WWE_diag_tools.py to git tracking Add ID_WWEs.py to git tracking Add text to code to analyze data Delete files from discontinued folder Add WWE diagnostic directory to git tracking Comment out pip modules since error occurs when trying to get pip modules when compiling software package Modify WWE.py to make simple plot for testing purposes Modify path to eriley instead of jess in example_multicase csv file Modify path to eriley instead of jess in example_multicase json file Modify path in WWEs/esm...json file to reflect new name of POD...from taux_diag to WWEs Modify path to reflect updated path to data files Create WWEs.html and WWEs_run_config.yml Create WWE.rst file Create WWEs settings.jsonc file Add config files to the example_multicase directory in diagnostics directory Create test_builder_config file to build the esm-intake csv
…set to fx if not present
… POD setings pod_data entry defined in the parent object instead of the pod_settings entry
@@ -0,0 +1,506 @@ | |||
import numpy as np | |||
import xarray as xr | |||
import pandas as pd |
Check notice
Code scanning / CodeQL
Unused import Note
import numpy as np | ||
import xarray as xr | ||
import pandas as pd | ||
from netCDF4 import Dataset |
Check notice
Code scanning / CodeQL
Unused import Note
import xarray as xr | ||
import pandas as pd | ||
from netCDF4 import Dataset | ||
import glob |
Check notice
Code scanning / CodeQL
Unused import Note
import pandas as pd | ||
from netCDF4 import Dataset | ||
import glob | ||
import os |
Check notice
Code scanning / CodeQL
Unused import Note
lon_index = np.where(np.asarray(data.dims) == 'lon') | ||
|
||
w_wwe = np.where((bb_sizes[:, time_index] >= mintime) & (bb_sizes[:, lon_index] >= minlons)) | ||
n_wwe = np.count_nonzero((bb_sizes[:, time_index] >= mintime) & |
Check notice
Code scanning / CodeQL
Unused local variable Note
import xarray as xr | ||
import glob | ||
import os | ||
import time |
Check notice
Code scanning / CodeQL
Unused import Note
import glob | ||
import os | ||
import time | ||
import xesmf as xe |
Check notice
Code scanning / CodeQL
Unused import Note
import os | ||
import time | ||
import xesmf as xe | ||
import scipy |
Check notice
Code scanning / CodeQL
Unused import Note
import time | ||
import xesmf as xe | ||
import scipy | ||
from scipy import stats |
Check notice
Code scanning / CodeQL
Unused import Note
from WWE_diag_tools import ( | ||
land_mask_using_etopo, | ||
regridder_model2obs, | ||
nharm, | ||
calc_raw_and_smth_annual_cycle, | ||
isolate_WWEs, | ||
WWE_characteristics, | ||
WWE_statistics, #We don't need to do the statistics to make the likelihood by longitude plot | ||
find_WWE_time_lon, | ||
plot_model_Hovmollers_by_year) |
Check notice
Code scanning / CodeQL
Unused import Note
Import of 'regridder_model2obs' is not used.
Import of 'nharm' is not used.
Import of 'calc_raw_and_smth_annual_cycle' is not used.
Import of 'isolate_WWEs' is not used.
Import of 'WWE_characteristics' is not used.
Import of 'WWE_statistics' is not used.
Import of 'find_WWE_time_lon' is not used.
… functions, but need a way to append static data open dataset with time variant data
…riables and concatenate along Y, X, or N dimension
Description
Include a summary of the change, and link the associated issue (if applicable).
List any dependencies that are required for this change, including libraries and variables,
and their metadata (units, frequencies, etc...). Be sure to separate PRs and issues for new PODs and PODs currently under development.
Associated issue #681
How Has This Been Tested?
RHEL8 , Python 3.12, WWEs POD (incoming)
Checklist:
conda_env_setup.sh