Custom Query (115 matches)


Show under each result:

Results (76 - 78 of 115)

Ticket Resolution Summary Owner Reporter
#33 fixed bugfix in attribute_array_impl.hpp? ymipsl smasson

Should the following bugfix be commited?

-bash-4.1$ svn diff
Index: src/attribute_array_impl.hpp
--- src/attribute_array_impl.hpp        (revision 446)
+++ src/attribute_array_impl.hpp        (working copy)
@@ -75,8 +75,12 @@
     template <typename T_numtype, int N_rank>
     void CAttributeArray<T_numtype,N_rank>::setInheritedValue(const CAttributeArray& attr)
-      if (this->isEmpty() && attr.hasInheritedValue()) inheritedValue=attr ;
-     } 
+      if (this->isEmpty() && attr.hasInheritedValue()) 
+      {
+        inheritedValue.resize(attr.shape()) ;
+        inheritedValue=attr ;
+      }
+    } 
     template <typename T_numtype, int N_rank>
     CArray<T_numtype,N_rank> CAttributeArray<T_numtype,N_rank>::getInheritedValue(void) const

#34 fixed check if a context is initialized or not ymipsl smasson

When the model crashes, I need (1) to close properly all contexts and (2) close XIOS. To do this, I need to know if a context was initialized or not (or I need to be able to close a context that was not initialized without creating an error).

#38 fixed add scale_factor and add_offset attribute for field ymipsl smasson

In order to reduce size on produced data, it would be convenient to have the possibility to specified scale_factor and add_offset attribute for file, following the CF convention.

Note: See TracQuery for help on using queries.