<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Dear All,<div><br></div><div>I am kind of new using NCL and I am trying to regrid some TRMM_3B24 data (0.25°x0.25°) to the resolution in my geogrid file (1km), however, I am having a problem when I try to calculate the weights. It crashes in the following line:</div><div><br></div><div>rectilinear_to_SCRIP( src_SCRIP_filename, src_lat, src_lon, Opt)<br></div><div>fatal:Eq: Dimension size, for dimension number 0, of operands does not match, can't continue<br></div><div><br></div><div>If it's helpful, the printVarSummary of the input in the function is the following:</div><div><div>Variable: src_lat</div><div>Type: double</div><div>Total Size: 56 bytes</div><div>            7 values</div><div>Number of Dimensions: 1</div><div>Dimensions and sizes:   [latitude | 7]</div><div>Coordinates:</div><div>            latitude: [16.875..18.375]</div><div>Number Of Attributes: 2</div><div>  units :       degrees_north</div><div>  long_name :   Latitude</div><div><br></div><div>Variable: src_lon</div><div>Type: double</div><div>Total Size: 48 bytes</div><div>            6 values</div><div>Number of Dimensions: 1</div><div>Dimensions and sizes:   [longitude | 6]</div><div>Coordinates:</div><div>            longitude: [-93.125..-91.875]</div><div>Number Of Attributes: 2</div><div>  units :       degrees_east</div><div>  long_name :   Longitude</div><div><br></div><div>Variable: src_SCRIP_filename</div><div>Type: string</div><div>Total Size: 8 bytes</div><div>            1 values</div><div>Number of Dimensions: 1</div><div>Dimensions and sizes:   [1]</div></div><div><br></div><div>The scripts I am using are based on ESMF utilities to regrid from rectilinear to curvilinear:</div><div><br></div><div>TRMM2WRFHydro_generate_weights.ncl<br></div><div>TRMM2WRFHydro_regrid.ncl<br></div><div><br></div><div>The data and scripts are in the following path on Cheyenne: </div>/glade/scratch/<span class="gmail-gr_ gmail-gr_625 gmail-gr-alert gmail-gr_spell gmail-gr_inline_cards gmail-gr_disable_anim_appear gmail-ContextualSpelling gmail-ins-del gmail-multiReplace" id="gmail-625" style="display:inline;border-bottom:2px solid transparent;background-repeat:no-repeat">mirce</span>/LaSierra/FullDomainForcing/TRMM_3B24_Cut<div><br></div><div>I can't see clearly why I am getting this error and besides, I am not sure about how to know if my grids are rectilinear or curvilinear, I am supposing that TRMM is rectilinear and I know that the geogrid file is curvilinear, but for another files I am not quite sure how to check that.</div><div><br></div><div>I will appreciate a lot any help about it and the error.</div><div><br></div><div>Thanks!</div><div>Mirce.</div><div><br></div></div></div></div></div></div></div></div></div></div>