Changeset 796
- Timestamp:
- 11/25/15 17:39:47 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/io/nc4_data_output.cpp
r774 r796 694 694 axis_value = axis->value_srv; 695 695 696 std::vector<StdSize> start(1) ; 697 std::vector<StdSize> count(1) ; 698 start[0] = zoom_begin_srv-axis->global_zoom_begin; 699 count[0] = zoom_size_srv; 696 std::vector<StdSize> start(1), startBounds(2) ; 697 std::vector<StdSize> count(1), countBounds(2) ; 698 start[0] = startBounds[0] = zoom_begin_srv-axis->global_zoom_begin; 699 count[0] = countBounds[0] = zoom_size_srv; 700 startBounds[1] = 0; 701 countBounds[1] = 2; 700 702 SuperClassWriter::writeData(axis_value, axisid, isCollective, 0, &start, &count); 701 703 702 704 if (!axis->bounds.isEmpty()) 703 SuperClassWriter::writeData(axis->bound_srv, axisBoundsId, isCollective, 0, &start , &count);705 SuperClassWriter::writeData(axis->bound_srv, axisBoundsId, isCollective, 0, &startBounds, &countBounds); 704 706 705 707 SuperClassWriter::definition_start();
Note: See TracChangeset
for help on using the changeset viewer.