<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><style scoped="" type="text/css">
@page { margin: 0.79in }
p { margin-bottom: 0.1in; line-height: 120% }
</style><div><p data-mce-style="margin: 0px; line-height: 100%;" style="margin: 0px; line-height: 100%;">Dear NCL Users,</p><p data-mce-style="margin: 0px; line-height: 100%;" style="margin: 0px; line-height: 100%;"><br></p><p data-mce-style="margin: 0px; line-height: 100%;" style="margin: 0px; line-height: 100%;">I am having problem while selecting a specific region within model output global data. Model data Longitudes varies from -279.75 to 79.75. The printVarSummary of the model data is as follows</p><p data-mce-style="margin: 0px; line-height: 100%;" style="margin: 0px; line-height: 100%;">-------</p><p data-mce-style="margin: 0px; line-height: 100%;" style="margin: 0px; line-height: 100%;">Variable: temp</p><p data-mce-style="margin: 0px; line-height: 100%;" style="margin: 0px; line-height: 100%;">Type: double</p><p data-mce-style="margin: 0px; line-height: 100%;" style="margin: 0px; line-height: 100%;">Number of Dimensions: 2</p><p data-mce-style="margin: 0px; line-height: 100%;" style="margin: 0px; line-height: 100%;">Dimensions and sizes: [YT_OCEAN | 410] x [XT_OCEAN | 720]</p><p data-mce-style="margin: 0px; line-height: 100%;" style="margin: 0px; line-height: 100%;">Coordinates:</p><p data-mce-style="margin: 0px; line-height: 100%;" style="margin: 0px; line-height: 100%;">YT_OCEAN: [-80.75..89.75]</p><p data-mce-style="margin: 0px; line-height: 100%;" style="margin: 0px; line-height: 100%;">XT_OCEAN: [-279.75..79.75]</p><p data-mce-style="margin: 0px; line-height: 100%;" style="margin: 0px; line-height: 100%;">---------</p><p data-mce-style="margin: 0px; line-height: 100%;" style="margin: 0px; line-height: 100%;">When I am trying to Select the region 120 E to 170W and 30N to 60N by using coordinate subscripting viz.</p><p data-mce-style="margin: 0px; line-height: 100%;" style="margin: 0px; line-height: 100%;"><br></p><p data-mce-style="margin: 0px; line-height: 100%;" style="margin: 0px; line-height: 100%;">temp_et = temp({30:60},{120:-170})</p><p data-mce-style="margin: 0px; line-height: 100%;" style="margin: 0px; line-height: 100%;"><br></p><p data-mce-style="margin: 0px; line-height: 100%;" style="margin: 0px; line-height: 100%;">It is giving error like</p><p data-mce-style="margin: 0px; line-height: 100%;" style="margin: 0px; line-height: 100%;"><br></p><p data-mce-style="margin: 0px; line-height: 100%;" style="margin: 0px; line-height: 100%;">fatal:NclOneDValGetRangeIndex: start coordinate index out of range, can't continue</p><p data-mce-style="margin: 0px; line-height: 100%;" style="margin: 0px; line-height: 100%;">fatal:Could not obtain coordinate indexes, unable to perform subscript</p><p data-mce-style="margin: 0px; line-height: 100%;" style="margin: 0px; line-height: 100%;"><br></p><p data-mce-style="margin: 0px; line-height: 100%;" style="margin: 0px; line-height: 100%;">Thereafter I have performed the lonFlip function</p><p data-mce-style="margin: 0px; line-height: 100%;" style="margin: 0px; line-height: 100%;"><br></p><p data-mce-style="margin: 0px; line-height: 100%;" style="margin: 0px; line-height: 100%;">temp_new = lonFlip(temp)</p><p data-mce-style="margin: 0px; line-height: 100%;" style="margin: 0px; line-height: 100%;">temp_et = temp_new({30:60},{120:-170})</p><p data-mce-style="margin: 0px; line-height: 100%;" style="margin: 0px; line-height: 100%;"><br></p><p data-mce-style="margin: 0px; line-height: 100%;" style="margin: 0px; line-height: 100%;">and the error is solved and the printVarSummary now looks like</p><p data-mce-style="margin: 0px; line-height: 100%;" style="margin: 0px; line-height: 100%;"><br></p><p data-mce-style="margin: 0px; line-height: 100%;" style="margin: 0px; line-height: 100%;">---------------------------</p><p data-mce-style="margin: 0px; line-height: 100%;" style="margin: 0px; line-height: 100%;">Variable: temp_et</p><p data-mce-style="margin: 0px; line-height: 100%;" style="margin: 0px; line-height: 100%;">Type: double</p><p data-mce-style="margin: 0px; line-height: 100%;" style="margin: 0px; line-height: 100%;">Number of Dimensions: 2</p><p data-mce-style="margin: 0px; line-height: 100%;" style="margin: 0px; line-height: 100%;">Dimensions and sizes: [YT_OCEAN | 40] x [XT_OCEAN | 440]</p><p data-mce-style="margin: 0px; line-height: 100%;" style="margin: 0px; line-height: 100%;">Coordinates:</p><p data-mce-style="margin: 0px; line-height: 100%;" style="margin: 0px; line-height: 100%;">YT_OCEAN: [30.2501..59.75]</p><p data-mce-style="margin: 0px; line-height: 100%;" style="margin: 0px; line-height: 100%;">XT_OCEAN: [119.75..-99.75]</p><p data-mce-style="margin: 0px; line-height: 100%;" style="margin: 0px; line-height: 100%;">----------------------------</p><p data-mce-style="margin: 0px; line-height: 100%;" style="margin: 0px; line-height: 100%;"><br></p><p data-mce-style="margin: 0px; line-height: 100%;" style="margin: 0px; line-height: 100%;">This is incorrect as my data is 0.5 degree resolution and X dimension should be 140 size rather than 440 size</p><p data-mce-style="margin: 0px; line-height: 100%;" style="margin: 0px; line-height: 100%;"><br></p><p data-mce-style="margin: 0px; line-height: 100%;" style="margin: 0px; line-height: 100%;">Please let me know where I am going wrong</p><p data-mce-style="margin: 0px; line-height: 100%;" style="margin: 0px; line-height: 100%;"><br></p><p data-mce-style="margin: 0px; line-height: 100%;" style="margin: 0px; line-height: 100%;">Thanking you in advance</p><p data-mce-style="margin: 0px; line-height: 100%;" style="margin: 0px; line-height: 100%;"><br></p><p data-mce-style="margin: 0px; line-height: 100%;" style="margin: 0px; line-height: 100%;">Regards</p></div></div></body></html>