diff --git a/interfaces/cdi.cpp b/interfaces/cdi.cpp
index 599add2f2759e0db5a6a583bc5006a842d82cfdd..05894de308c836a7e8fbb386bf65c181f5f51575 100644
--- a/interfaces/cdi.cpp
+++ b/interfaces/cdi.cpp
@@ -265,7 +265,12 @@ CdiVariable::CdiVariable(int streamid,int vlistid, int varid) {
 CdiVariable::~CdiVariable(){ size = -1; }
 
 void
-CdiVariable::sinfo() { std::cout << "code:"  << std::endl; }
+CdiVariable::sinfo() {
+  std::cout << "name:"  << name << std::endl;
+  std::cout << "longname:"  << longname << std::endl;
+  std::cout << "units:"  << units << std::endl;
+  std::cout << "code:"  << code << std::endl;
+}
 
 double *
 CdiVariable::getValuesAsPointer()