Commit 083ef169 authored by saeed's avatar saeed

a bit cleaning

parent 7f1f893f
......@@ -208,11 +208,9 @@ int main(int argc, char *argv[]){
nc_def_var(ncid, "time",NC_DOUBLE,1,&rec_dimid, &time_varid);
char calendar[] = "gregorian";
//char units[] = "days since 1756-01-01 00:00:00";
char standard_name[] = "time" ;
char long_name[] = "Time axis" ;
//char time_origin[] = "1756-01-01 00:00:00" ;
nc_put_att_text (ncid,time_varid, "calender",sizeof(calendar) / sizeof(calendar[0]), calendar);
nc_put_att_text (ncid,time_varid, "units",lenstr(units),units);
nc_put_att_text (ncid,time_varid, "time_origin",lenstr(time_origin), time_origin);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment