Comments (27)
@tangq Hi. I think it would be helpful to isolate if this is a cdscan or e3sm_unified problem. I will try test with standalone cdat environment to test if cdscan applies to the particular data.
from e3sm-unified.
I tested cdscan within different cdms2 versions (3.0.0 and 3.1.4) was able to reproduce @tangq 's error in v3.1.4. Cdscan in v3.0.0 works. I'm directing this issue to CDAT development team.
from e3sm-unified.
Thanks @chengzhuzhang for the help. It would be nice if the cdscan fix can be added to the newly released e3sm_unified.
Since the older cdscan works, I assume the fix should be relatively minor and quick.
from e3sm-unified.
@chengzhuzhang , did you run the old cdscan on cori? If so, is that possible for me to use the older version? I need to run it for multiple years of data.
from e3sm-unified.
I tried in one of my old environment for e3sm_diags. I can create the .xmls for you. Just let me know how and where I should create those files.
from e3sm-unified.
@tangq, this is the first I'm hearing about cdscan
. If it needs to be supported in E3SM-Unified, I would need to know about it and help to make sure it works before deploying the environment. It isn't really possible to just add a fix after the fact. It takes me weeks or months to make sure all the packages work together and upgrading one can break that delicate balance, so I really need all the packages we support to be known ahead of time and carefully integrated to make sure there are no conflicts. Is cdscan
an conda package? If so, where is it maintained?
from e3sm-unified.
I see, after some investigation, cdscan
is a package of cdms2
, so, yeah, this is an issue for CDAT folks.
Even if there's a bug fix, I'm hesitant to include it in this version of E3SM-Unified unless we can also be sure that E3SM_Diags works fine with the new version. And we'd need a new release really soon to not hold up the roll-out. Talking with @muryanto1, it sounded like they're testing a release candidate and a bug fix might be able to go in, but that we couldn't expect a new cdms2
release for at least a little while.
from e3sm-unified.
@xylar , thanks for the clarifications. I will use some older cdms2 as a temporary solution.
from e3sm-unified.
I tried in one of my old environment for e3sm_diags. I can create the .xmls for you. Just let me know how and where I should create those files.
Thanks, @chengzhuzhang . Some of the grib files are still downloading. I will let you know when it's complete.
from e3sm-unified.
This seems to be getting addressed here:
CDAT/cdms#399
Once it is handled, I think I can patch the existing version of cdms2 to include this fix as well. If that happens very soon, I might be able to include it in E3SM-Unified 1.3.1 after all.
from e3sm-unified.
@tangq, this has been fixed in the latest cdms2
and I have a PR in to patch the current release as well: conda-forge/cdms2-feedstock#57
Once that is in, I will rebuild E3SM-Unified on compy and anvil, and ask you to try again. Hopefully, by Monday.
from e3sm-unified.
@xylar , the issue reported there is for netcdf files. I am not sure if the fix can also solve the issue here for the grib control files. I will need to test it once you rebuild the ESM-Unified. Thanks.
from e3sm-unified.
@tangq, E3SM-Unified really isn't a good place for testing this. I'll do it this time but we need to figure out a better workflow for noticing these issues earlier and testing with the new packages as they are released. That's way outside of my job description.
from e3sm-unified.
@rljacob and @chengzhuzhang, can we add a discussion of how to better stress test E3SM-Unified to an IG agenda?
from e3sm-unified.
@xylar , I agree that this is not an E3SM-Unified issue. It should be addressed by individual packages before it is integrated into E3SM-Unified.
from e3sm-unified.
On the E3SM-Unified confluence page, I noticed that packages are assigned to different people. Perhaps, they know more about these packages and thus have better testing ideas?
from e3sm-unified.
this is not an E3SM-Unified issue
Right, but if E3SM-Unified isn't very useful for the next 6 months because it includes this issue, that's too bad. So if it's easy to address, that would be great!
packages are assigned to different people
Yes, that's true. Especially for the "main" packages, we do expect that these people have tested them before they go into E3SM-Unified. But at least this time, a lot of issues seem to have slipped through the cracks unnoticed. This suggests we may need a trial period for E3SM-Unified that's longer than a couple of days to catch these issues. This didn't seem to be needed previously so I hadn't thought about it too much. But I also thought that update every 2-3 months would be better than every 6-9. Project management disagrees.
from e3sm-unified.
@rljacob and @chengzhuzhang, can we add a discussion of how to better stress test E3SM-Unified to an IG agenda?
Yes. It will be a very useful discussion. Also we may want to roll out a reasonable schedule for deploying E3SM-Unified, which should balance the project need and development cycle of individual packages that are in active development. A fixed schedule with testing period might be helpful for each tools to be better prepared before adding to a E3SM-Unified release.
from e3sm-unified.
@tangq, I have updated e3sm-unified on Anvil and Compy to include the patches in CDAT/cdms#399 and conda-forge/cdms2-feedstock#57. Could you please re-test cdscan to see if you still see problems? If so, could you make an issue on https://github.com/CDAT/cdms/issues?
from e3sm-unified.
@xylar, I tested it on compy at /compyfs/tang338/tst. It got the same errors.
I am not sure the env loaded by source /compyfs/software/e3sm-unified/load_latest_e3sm_unified.sh
contains this fix, because it still loads e3sm_unified_1.3.0 and I don't see version 1.3.1 in the base/envs.
If there is another way to load the E3SM-Unified with the patches, please let me know and I can test again.
from e3sm-unified.
@tangq oh, no! I'm sorry about that! Thing have moved to:
/share/apps/E3SM/conda_envs/
But I didn't update the path on Confluence. I'm doing my best to fix that now.
from e3sm-unified.
Using 1.3.1 I got the same errors:
(e3sm_unified_1.3.1) [tang338@compy-e tst]$ cdscan -x tst.xml *.ctl
Finding common directory ...
Common directory:
Scanning files ...
UVTQPS-20140101_T255.grib.ctl
Setting reference time units to
Traceback (most recent call last):
File "/share/apps/E3SM/conda_envs/base/envs/e3sm_unified_1.3.1/bin/cdscan", line 1842, in <module>
main(sys.argv)
File "/share/apps/E3SM/conda_envs/base/envs/e3sm_unified_1.3.1/bin/cdscan", line 1284, in main
timeIsLinear = (referenceTime[0].lower().split() in
IndexError: string index out of range
It looks like that the "list" command is not added on these lines...This is why I am not a fan of the non-backward compatible python updates.
from e3sm-unified.
@tangq, That's too bad! As I said, this is an issue for CDAT folks. But it looks like a fix is unlikely to make it into this E3SM-Unified.
This is why I am not a fan of the non-backward compatible python updates.
I don't understand why this is relevant. The update was incomplete but I don't think this is related to backwards compatibility...
from e3sm-unified.
The cdscan issue is caused by that py3 is not backward compatible with py2. The fix CDAT put in is adding list() around some statements. I should have made it clearer that the update I meant is the py3 updates, not the E3SM-Unified updates.
from e3sm-unified.
Ah, I see. Yes, python major versions are not meant to be backwards compatible. That may seem inconvenient but it comes with a lot more freedom to improve the performance and API over time. And there were 8 years of warning that python 2 would go away...
from e3sm-unified.
I'm going to close this again. I am almost done deploying E3SM-Unified 1.3.1. All other issues that we identified have been addressed and it doesn't seem like there will be a quick enough fix for this one to make the cut.
@tangq, please do open an issue with the CDAT folks if you haven't already. It would be nice to have this fixed and ready for the next E3SM-Unified release in 6 months or so.
from e3sm-unified.
@xylar , sounds good. @chengzhuzhang opened an issue for this already.
from e3sm-unified.
Related Issues (20)
- Deploy to a new path on acme1 LLNL HOT 11
- python 3.7 version of e3sm-unified HOT 9
- Mac OSX build of e3sm-unified HOT 12
- e3sm-unified no longer supports high res analysis (cdf5 not supported) HOT 3
- Anvil/Blues is getting upgraded to slurm and LMod (yay!) HOT 1
- not able to add latest processflow and e3sm_unified versions HOT 1
- many packages in e3sm-unified are cobbering other packages HOT 1
- problem packages for e3sm-unified 1.2.6
- mpi4py on HPC HOT 6
- CI for building containers is currently broken HOT 2
- Enable better CI HOT 3
- e3sm_diags doesn't work in sysmpi environment HOT 1
- Build failing due to Dask dependency HOT 1
- v1.3.0 not building with numpy 1.18.1
- Change from acme to e3sm on NERSC HOT 2
- latest ncremap failed with vertical interpolation HOT 9
- slow on NERSC compute nodes HOT 7
- Tempest-extreme in e3sm-unified HOT 12
- MPI_Init error running ilamb on LCRC HOT 8
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 e3sm-unified.