source: XIOS/trunk/src/config/interpolate_domain_attribute.conf @ 1004

Last change on this file since 1004 was 1004, checked in by mhnguyen, 7 years ago

Some modifications of reading/writing interpolation weight from/into a file
There are 3 attributes concerning read/write weights from/into a file

  • write_weight: true/false. Default value: false
  • weight_filename.
  • mode: Default value: compute + read: read from file whose name is weight_filename + compute: compute weights + read_or_compute: if weight_filename already exists, the weights will be read from it; otherwise the weights will be computed

In mode compute and read_or_compute, if there is no weight_filename, a filename whose format
xios_interpolation_weight_nameOfContext_nameOfDomainSource_nameOfDomainDestination.nc will be used for read/write.

Test
+) On Curie
+) Work

File size: 292 bytes
Line 
1/* GLOBAL */
2DECLARE_ATTRIBUTE(StdString, file)
3DECLARE_ATTRIBUTE(int, order)
4DECLARE_ATTRIBUTE(bool, renormalize)
5
6/* Write interpolation weights into file */
7DECLARE_ENUM3(mode,compute,read,read_or_compute)
8DECLARE_ATTRIBUTE(StdString, weight_filename)
9DECLARE_ATTRIBUTE(bool, write_weight)
Note: See TracBrowser for help on using the repository browser.