Ignore:
Timestamp:
03/21/22 15:25:14 (2 years ago)
Author:
ymipsl
Message:

temporary fix when reading grid from file. Some part of code must rewrite in future.
YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_ym/XIOS_COUPLING/src/config/domain_attribute_private.conf

    r1553 r2312  
    11/* PRIVATE ATTRIBUTES */ 
    2 DECLARE_ATTRIBUTE_PRIVATE(double,  lon_start) 
    3 DECLARE_ATTRIBUTE_PRIVATE(double,  lon_end) 
    4 DECLARE_ATTRIBUTE_PRIVATE(double,  lat_start) 
    5 DECLARE_ATTRIBUTE_PRIVATE(double,  lat_end) 
     2DECLARE_ATTRIBUTE_PRIVATE(double,  lon_start, false) 
     3DECLARE_ATTRIBUTE_PRIVATE(double,  lon_end, false) 
     4DECLARE_ATTRIBUTE_PRIVATE(double,  lat_start, false) 
     5DECLARE_ATTRIBUTE_PRIVATE(double,  lat_end, false) 
    66 
    7 DECLARE_ATTRIBUTE_PRIVATE(double,  bounds_lon_start) 
    8 DECLARE_ATTRIBUTE_PRIVATE(double,  bounds_lon_end) 
    9 DECLARE_ATTRIBUTE_PRIVATE(double,  bounds_lat_start) 
    10 DECLARE_ATTRIBUTE_PRIVATE(double,  bounds_lat_end) 
     7DECLARE_ATTRIBUTE_PRIVATE(double,  bounds_lon_start, false) 
     8DECLARE_ATTRIBUTE_PRIVATE(double,  bounds_lon_end, false) 
     9DECLARE_ATTRIBUTE_PRIVATE(double,  bounds_lat_start, false) 
     10DECLARE_ATTRIBUTE_PRIVATE(double,  bounds_lat_end, false) 
    1111 
     12DECLARE_ATTRIBUTE(bool             , hasLatInReadFile, false) 
     13DECLARE_ATTRIBUTE(bool             , hasLonInReadFile, false) 
     14DECLARE_ATTRIBUTE(bool             , hasBoundsLatInReadFile, false) 
     15DECLARE_ATTRIBUTE(bool             , hasBoundsLonInReadFile, false) 
    1216//  Array contain whole value (non distributed) of longitude and latitude read from a file 
    13 DECLARE_ARRAY_PRIVATE(double, 1, lonvalue_rectilinear_read_from_file) 
    14 DECLARE_ARRAY_PRIVATE(double, 1, latvalue_rectilinear_read_from_file) 
     17DECLARE_ARRAY_PRIVATE(double, 1, lonvalue_rectilinear_read_from_file, false) 
     18DECLARE_ARRAY_PRIVATE(double, 1, latvalue_rectilinear_read_from_file, false) 
    1519 
    1620// Array containing longitude and latitude of LOCAL curvilinear domain to be read from a file 
    17 DECLARE_ARRAY_PRIVATE(double, 2, lonvalue_curvilinear_read_from_file) 
    18 DECLARE_ARRAY_PRIVATE(double, 2, latvalue_curvilinear_read_from_file) 
    19 DECLARE_ARRAY_PRIVATE(double, 3, bounds_lonvalue_curvilinear_read_from_file) 
    20 DECLARE_ARRAY_PRIVATE(double, 3, bounds_latvalue_curvilinear_read_from_file) 
     21DECLARE_ARRAY_PRIVATE(double, 2, lonvalue_curvilinear_read_from_file, false) 
     22DECLARE_ARRAY_PRIVATE(double, 2, latvalue_curvilinear_read_from_file, false) 
     23DECLARE_ARRAY_PRIVATE(double, 3, bounds_lonvalue_curvilinear_read_from_file, false) 
     24DECLARE_ARRAY_PRIVATE(double, 3, bounds_latvalue_curvilinear_read_from_file, false) 
    2125 
    2226// Array containing longitude and latitude of LOCAL unstructured domain to be read from a file 
    23 DECLARE_ARRAY_PRIVATE(double, 1, lonvalue_unstructured_read_from_file) 
    24 DECLARE_ARRAY_PRIVATE(double, 1, latvalue_unstructured_read_from_file) 
    25 DECLARE_ARRAY_PRIVATE(double, 2, bounds_lonvalue_unstructured_read_from_file) 
    26 DECLARE_ARRAY_PRIVATE(double, 2, bounds_latvalue_unstructured_read_from_file) 
     27DECLARE_ARRAY_PRIVATE(double, 1, lonvalue_unstructured_read_from_file, false) 
     28DECLARE_ARRAY_PRIVATE(double, 1, latvalue_unstructured_read_from_file, false) 
     29DECLARE_ARRAY_PRIVATE(double, 2, bounds_lonvalue_unstructured_read_from_file, false) 
     30DECLARE_ARRAY_PRIVATE(double, 2, bounds_latvalue_unstructured_read_from_file, false) 
Note: See TracChangeset for help on using the changeset viewer.