Comments (8)
@durack1
2 files have the same units time:units = "days since 0301-01-01" ;
The message is very confusing though.
Can you provide me with something better?
Variable 'zg' is duplicated, and is a function of lat or lon:
files zg_Amon_HadGEM2-AO_piControl_r1i1p1_020101-030012.nc, zg_Amon_HadGEM2-AO_piControl_r1i1p1_030101-040012.nc
/cmip5_css02/data/cmip5/output1/NIMR-KMA/HadGEM2-AO/piControl/mon/atmos/Amon/r1i1p1/zg/1/zg_Amon_HadGEM2-AO_piControl_r1i1p1_020101-030012.nc
/cmip5_css02/data/cmip5/output1/NIMR-KMA/HadGEM2-AO/piControl/mon/atmos/Amon/r1i1p1/zg/1/zg_Amon_HadGEM2-AO_piControl_r1i1p1_030101-040012.nc
from cdms.
Similar time overlap of these 2 files. Actually the file timestamps gave a clue...
The first date is 2005-01-16 12
in both file.
/cmip5_css02/scratch/cmip5/output1/NCAR/CCSM4/rcp26/mon/land/Lmon/r1i1p1/v20120416/mrro/mrro_Lmon_CCSM4_rcp26_r1i1p1_200501-210012.nc
and
/cmip5_css02/scratch/cmip5/output1/NCAR/CCSM4/rcp26/mon/land/Lmon/r1i1p1/v20120416/mrro/mrro_Lmon_CCSM4_rcp26_r1i1p1_200601-210012.nc
from cdms.
@dnadeau4 the reason this issue was generated was that when called in a script, the runtime errors (rather than stdout, stderr output) was causing problems. In most cases that I am aware of, the issue is with the input data, so there are problems, but the way that cdscan
behaves isn't helpful..
from cdms.
@durack1 you can call cdscan from inside a script
cdms2.cdscan.main(["cdscan","-x","crap.xml","*.nc"])
from cdms.
@doutriaux1 that's exactly what I am doing, but the issue is that runtime failures then trip scripts over.. I was suggesting that as cdscan
is a script that is often called outside of an active python/cdms session, it uses the stdout/stderr
rather than runtime errors
from cdms.
I tripped on that message
Variable 'zg' is duplicated, and is a function of lat or lon:
It does not tell us that this is a time issue, and I did not understand why zg
as duplicated.
Maybe this would be better
Variable 'zg' has duplicated time and is a function of lat or lon:
from cdms.
@durack1 this is a run time error and the program cannot continue. I could raise another kind of exception like "value error". You will still have the back trace, that is how python stops.
from cdms.
@dnadeau4 the issue for me was rather than returning a stderr
python returns a runtime error, back trace and trips over scripts that were calling it.. Is it possible to get python "binaries" to behave the same way as a compiled binary, so stdout/stderr
?
from cdms.
Related Issues (20)
- cdms2.open() hitting segfault 11 with mpich libnetcdf
- Question about the global mean value using cdms2.regrid HOT 1
- TransientVariable indexing with numpy.int64 HOT 3
- cdscan speed HOT 6
- Masked array treated differently by numpy.where() across numpy versions HOT 3
- Error when high-temporal-resolution (3hourly) data reading in HOT 6
- cdscan KeyError: 'height' HOT 6
- FutureWarning: Using a non-tuple sequence for multidimensional indexing is deprecated HOT 1
- MV2.repeat unexpected behavior
- Make mpi4py initialization optional HOT 1
- The attributes' dictionary of a cdms2 variable has a spurious 'name' key
- cdms2.setAutoBounds(wrong_param) should generate an error
- cdscan issues with poorly formed netcdf files
- cdms2 fails on opening a file with a badly encoded string attribute
- cdms2 generating wrong longitude axis topology when reading grads dat/ctl data ? HOT 3
- Building CDMS without Conda
- UnicodeDecodeError attempting to open an NCO-generated netcdf file HOT 4
- Unable to prepare environment
- Nasty segfault with erroneous netcdf-4 data
- cdms fails to load data on a specific level HOT 4
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 cdms.