Custom Query (116 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (61 - 63 of 116)

Ticket Resolution Summary Owner Reporter
#85 fixed Interpolation does not work ymipsl ssenesi
Description

Doing a simple test of interpolation to a rectilinear domain fails at the stage of close_context. See attached files : s.xml defines one interpolated field and one single output file. When enabling the interpolated field, XIOS crashes with the attached stack trace. In my application, almost all definitions are done using the API. The internal grid is an unstructured one.

#86 fixed Allowing durations expressed as strings with the Fortran API ymipsl ssenesi
Description

Model developpers would appreciate to be able to :

call xios_set_attr('field',freq_op='6h')

i.e. to benefit from the API of the same features as in xml file for expressing durations (without managing XIOS types)

I didn't find a function for converting from string to duration, which could help in this respect

#87 worksforme Duration arithmetics does not work ymipsl ssenesi
Description

According to the ref_guide :

Arithmetic operations on durations
The following arithmetic operations on durations are available:
• Addition: xios_duration = xios_duration + xios_duration
• Subtraction: xios_duration = xios_duration - xios_duration
• Multiplication by a scalar value: xios_duration = scalar * xios_duration
or xios_duration = xios_duration * scalar
• Negation: xios_duration = -xios_duration

But gfortran doesn't agree :

      CALL XIOS_SET_FIELD_ATTR(HREC, freq_op=KFREQOP*XIOS_HOUR)

1

Error: Operands of binary numeric operator '*' at (1) are INTEGER(4)/TYPE(xios_duration)

   CALL XIOS_SET_FIELD_ATTR(HREC, freq_offset=0.*XIOS_SECOND)

1

Error: Operands of binary numeric operator '*' at (1) are REAL(8)/TYPE(xios_duration)

Note: See TracQuery for help on using queries.