-
At the moment dimensions values can only include numerical values not string. The best way to accomplish this for you is to add the "coord_labels" attribute to your axis. This can then point to a string variable containing the actual string for each index.
2009-09-25 16:23:44 UTC by cdoutri
-
I have created a file with an ensemble of results for several models, and created a new dimension "model" for my data variable. What I'd like to do is create another variable with the names of the models (rather than just the list of integers for identifying models). Here's an example of what I have tried:
>>> import cdms2, MV2
>>> import numpy.oldnumeric as Numeric
>>> runs =...
2009-09-16 16:52:22 UTC by edmhydro
-
cdoutri made 2 file-release changes.
2009-09-14 20:04:01 UTC by cdoutri
-
cdoutri made 3 file-release changes.
2009-09-14 19:19:01 UTC by cdoutri
-
cdoutri made 4 file-release changes.
2009-09-14 19:18:01 UTC by cdoutri
-
cdoutri made 4 file-release changes.
2009-09-14 19:15:02 UTC by cdoutri
-
cdoutri made 1 file-release changes.
2009-09-14 18:51:03 UTC by cdoutri
-
cdoutri made 1 file-release changes.
2009-09-14 17:56:04 UTC by cdoutri
-
cdoutri made 1 file-release changes.
2009-09-14 17:14:01 UTC by cdoutri
-
cdoutri made 1 file-release changes.
2009-09-14 16:56:02 UTC by cdoutri