Changeset 713 for XIOS/trunk/src/io/nc4_data_output.cpp
- Timestamp:
- 10/01/15 09:43:07 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/io/nc4_data_output.cpp
r710 r713 685 685 686 686 if (!axis->bounds.isEmpty()) 687 { 688 CArray<double,2> axisBounds(2, zoom_size_srv); 689 for (int i = 0; i < zoom_size_srv; i++) 690 { 691 axisBounds(0, i) = axis->bound_srv(i, 0); 692 axisBounds(1, i) = axis->bound_srv(i, 1); 693 } 694 SuperClassWriter::writeData(axisBounds, axisBoundsId, isCollective, 0); 695 } 687 SuperClassWriter::writeData(axis->bound_srv, axisBoundsId, isCollective, 0); 696 688 697 689 SuperClassWriter::definition_start(); … … 711 703 712 704 if (!axis->bounds.isEmpty()) 713 { 714 CArray<double,2> axisBounds(2, zoom_size_srv); 715 for (int i = 0; i < zoom_size_srv; ++i) 716 { 717 axisBounds(0, i+zoom_begin_srv) = axis->bound_srv(i, 0); 718 axisBounds(1, i+zoom_begin_srv) = axis->bound_srv(i, 1); 719 } 720 SuperClassWriter::writeData(axisBounds, axisBoundsId, isCollective, 0, &start, &count); 721 } 705 SuperClassWriter::writeData(axis->bound_srv, axisBoundsId, isCollective, 0, &start, &count); 722 706 723 707 SuperClassWriter::definition_start();
Note: See TracChangeset
for help on using the changeset viewer.