IMPORTANT: identifiers in the resulting csv file were not correct before this patch.

This commit is contained in:
Einar Ryeng 2009-02-28 15:38:29 +00:00
parent 53cbd8fed7
commit 14de18c507

View File

@ -16,8 +16,8 @@ def read_options():
def write_csv(fd, ds):
rowdim, coldim = ds.get_dim_name()
rowids = ds.get_identifiers(rowdim)
colids = ds.get_identifiers(coldim)
rowids = ds.get_identifiers(rowdim, sorted=True)
colids = ds.get_identifiers(coldim, sorted=True)
x = ds.asarray()
## Print ID row