Comments (5)
A big piece of the "necessary files" is 5 years of daily output. We wouldn't generate that for every run, certainly, but if we were generating it anyhow... maybe a different way to ask this question is this: is there a relatively painless way to retroactively set up what's needed for the qc tests, if we happen to have the output already?
from cice.
If I understand correctly, you are asking about how easy it might be to use the QC script on runs that already generated 5 years worth of daily output? The script should already be setup to properly run with those inputs.
The problem would be that the QC tests (as far as I understand them) require instantaneous output, not averaged output. So, while the script should run with the inputs from any 5 years of daily output, the tests might not be 100% appropriate due to the fact that the default namelist has hist_avg = .true.
from cice.
These are runs that I created for Andrew to analyze, and we kept the aisnap and hisnap fields, which are always instantaneous even when everything else is averaged. I tried running the script on them and I get this error:
$ cice.t-test.py /net/scratch3/eclare/CICE_RUNS/gx1.20yr/history /net/scratch3/eclare/CICE_RUNS/gx1.nonBFB_tmass
INFO:main:Number of files: 0
Traceback (most recent call last):
File "cice.t-test.py", line 441, in
data_a, data_b, data_d, num_files, path_a, fname = read_data(args.base_dir,args.test_dir)
File "cice.t-test.py", line 56, in read_data
nfid = nc.Dataset("{}/{}".format(path_a,files_a[0]),'r')
The script works when I use directories that were generated with -s qc.
from cice.
The script looks for files in the history/
directories that start with iceh_inst.
. Since the script says that there are 0 files, I would assume that the files do not start with iceh_inst.
. I'd be happy to change the script to look for a filename that might work more universally, I just didn't want the script to also try to read data from files that do not provide the instantaneous output.
from cice.
I see. We'll need to think about this. Options could be to allow hisnap to be read from any file name, or either hi or hisnap from iceh_inst.
from cice.
Related Issues (20)
- ice_in variables undefined in chapter 5 of docs HOT 4
- shortwave dEdd_snicar_ad setup HOT 10
- grid_location is missing for C and CD grids for call to seabed_stress_factor_LKD HOT 1
- model abort due to dvice negative HOT 11
- Investigate T-Test in cice.t-test.py
- NLON, ELAT not computed when TLAT, TLON, ANGLET on grid file HOT 14
- Some CMIP variables are computed using a mix of U and T quantities HOT 1
- dxT and other grid length variables
- dsnow optional argument in icepack_step_therm1 HOT 2
- evp1d performance evaluation
- Support netcdf-4 compression & chunking HOT 1
- hist_avg on multiple streams writes the same filenames when .false. HOT 9
- Potential instability related to explicit treatment of Coriolis for C-grid HOT 3
- Arguments in update_state need if present. HOT 2
- dynamics U points are active when T points are not HOT 5
- Commit/PR process HOT 3
- PIO and hdf5 failures HOT 4
- Test various restart formats and add Derecho port that uses pio spack HOT 1
- tripole initial/restart file with inconsistent values on the tripole seam HOT 15
- CICE C-grid crash on 1/12 degree tripole HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cice.