Custom Query (115 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (22 - 24 of 115)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Ticket Resolution Summary Owner Reporter
#131 fixed Problem with number of months in user_defined calendar ymipsl millour
Description

In date.cpp, the function

void CDate::addMonth(int value) { Value doit être égale à 1 ou -1.

this->month += value; if (this->month == 13) { year++; this->month = 1; } if (this->month == 0) { year--; this->month = 12; }

}

Assumes that there are 12 months/year, which is not the case for a "user_defined" calendar. A more generic version could be:

void CDate::addMonth(int value) { Value doit être égale à 1 ou -1.

const CCalendar& c = getRelCalendar(); int nbMonth = c.getYearLength() ;

this->month += value; if (this->month == nbMonth+1) { year++; this->month = 1; } if (this->month == 0) { year--; this->month = nbMonth; }

}

#29 fixed Need more explicit error message ymipsl omamce
Description

Error message

=> Error [CDomain::checkAttributes(void)] : In file
'/ccc/work/cont003/dsm/p86mart/CPL/CM6-03/modeles/XIOS/src/node/domain.cpp',
line 267 -> the mask has not the same size than the local domain

An information on the local domain size and the mask size would be appreciated.

#46 fixed Compilation netcdf4_seq fails ymipsl omamce
Description

/Users/marti/Unix/XIOS/src/output/onetcdf4.cpp:501:53: error: use of undeclared identifier 'NC_COLLECTIVE'

CheckError?(nc_var_par_access(grpid, varid, NC_COLLECTIVE));

/Users/marti/Unix/XIOS/src/output/onetcdf4.cpp:503:53: error: use of undeclared identifier 'NC_INDEPENDENT'

CheckError?(nc_var_par_access(grpid, varid, NC_INDEPENDENT));

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Note: See TracQuery for help on using queries.