- Timestamp:
- 10/21/15 16:56:23 (8 years ago)
- Location:
- XIOS/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/inputs/REMAP/iodef.xml
r744 r753 32 32 </file> 33 33 <file id="output_src_regular_tmp" name="output_src_regular_tmp"> 34 <field field_ref="tmp_field"/>34 <!-- <field field_ref="tmp_field"/>--> 35 35 </file> 36 36 </file_definition> … … 42 42 <domain_definition> 43 43 <domain id="src_domain" /> 44 <domain id="dst_domain" domain_src="src_domain ">44 <domain id="dst_domain" domain_src="src_domain_regular"> 45 45 <interpolate_domain/> 46 46 </domain> 47 47 <domain id="dst_domain_regular_pole" domain_src="src_domain" ni_glo="180" nj_glo="90" type="rectilinear"> 48 <generate_rectilinear_domain bounds_lat_start="-90" bounds_lat_end="90" lon_start="2" lon_end="360"/>48 <generate_rectilinear_domain lat_start="-90" lat_end="90" lon_start="2" lon_end="360"/> 49 49 <interpolate_domain/> 50 50 </domain> … … 54 54 </domain> 55 55 <domain id="src_domain_regular" ni_glo="180" nj_glo="90" type="rectilinear"> 56 <generate_rectilinear_domain bounds_lat_start="-90" bounds_lat_end="90" lon_start="2" lon_end="360" />56 <generate_rectilinear_domain lat_start="-90" lat_end="90" lon_start="2" lon_end="360" /> 57 57 </domain> 58 58 </domain_definition> -
XIOS/trunk/src/transformation/domain_algorithm_interpolate.cpp
r743 r753 76 76 else // if domain source is rectilinear, not do anything now 77 77 { 78 bool isNorthPole = false; 79 bool isSouthPole = false; 80 if (poleValue == std::abs(domainSrc_->lat_start)) isNorthPole = true; 81 if (poleValue == std::abs(domainSrc_->lat_end)) isSouthPole = true; 82 78 83 nVertexSrc = constNVertex; 79 domainSrc_->fillInRectilinearBoundLonLat(boundsLonSrc, boundsLatSrc); 80 } 81 82 bool isNorthPole = false; 83 bool isSouthPole = false; 84 domainSrc_->fillInRectilinearBoundLonLat(boundsLonSrc, boundsLatSrc, isNorthPole, isSouthPole); 85 } 86 84 87 std::map<int,std::vector<std::pair<int,double> > > interpMapValueNorthPole; 85 88 std::map<int,std::vector<std::pair<int,double> > > interpMapValueSouthPole; … … 116 119 else 117 120 { 121 bool isNorthPole = false; 122 bool isSouthPole = false; 118 123 if (poleValue == std::abs(domainDest_->lat_start)) isNorthPole = true; 119 124 if (poleValue == std::abs(domainDest_->lat_end)) isSouthPole = true;
Note: See TracChangeset
for help on using the changeset viewer.