<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px"><div id="yui_3_16_0_ym19_1_1534594421931_43260"><span id="yui_3_16_0_ym19_1_1534594421931_43348">Thanks Mary. </span></div><div id="yui_3_16_0_ym19_1_1534594421931_43260" dir="ltr">I am first trying to plot the count values (IMG_MIR variable). and then going for the MIRF (Radiance)</div><div id="yui_3_16_0_ym19_1_1534594421931_43260" dir="ltr">Earlier, I was attaching the X and Y axis Labels explicitly as given below, So the plot was not correct. Dont know why </div><div id="yui_3_16_0_ym19_1_1534594421931_43260" dir="ltr">[;  res@tmXBMode          =  "Explicit"<br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_52874">;  res@tmXBValues        =  (/"60","65","70","75","80","85","90","95","100"/)  ]</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_52874"><br></div><div id="yui_3_16_0_ym19_1_1534594421931_43260" dir="ltr">The lat/lon are large numbers, varyning between (5401854.420193..-1058893.687497] But the meta data says the lat/lon bounds are 44.5-105.5/-10S to 45.5. </div><div id="yui_3_16_0_ym19_1_1534594421931_43260" dir="ltr">So lat/lon in the file are to be converted to the meaningful ones (as given in the meta data)</div><div id="yui_3_16_0_ym19_1_1534594421931_43260" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1534594421931_43260" dir="ltr">Now I am not attaching the X and Y axis Labels explicitly to the plot (attached) so it plots the contours. But I get a warning like this </div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_59201">(0)<span style="white-space:pre-wrap;" id="yui_3_16_0_ym19_1_1534594421931_59202">   </span>get_lon_values: Warning: The range your of longitude values is greater than 360.</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_59203">warning:ManualComputeMajorTickMarks: Maximum tickmarks (256) has been reached, tickmarks may appear in complete</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_59204">warning:ExplicitComputeMinorTickMarks: Maximum minor tickmarks (1024) has been reached, tickmarks may appear incomplete</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_59205">warning:ManualComputeMajorTickMarks: Maximum tickmarks (256) has been reached, tickmarks may appear in complete</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_59206">warning:ExplicitComputeMinorTickMarks: Maximum minor tickmarks (1024) has been reached, tickmarks may appear incomplete</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_59207">(0)<span style="white-space:pre-wrap;" id="yui_3_16_0_ym19_1_1534594421931_59208">   </span>get_lat_values: Warning: Your latitude values do not fall between -90 and 90 inclusive.</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_59209">(0)<span style="white-space:pre-wrap;" id="yui_3_16_0_ym19_1_1534594421931_59210">        </span>You will not get 'nice' latitude labels.</div><div id="yui_3_16_0_ym19_1_1534594421931_43260" dir="ltr"> </div><div id="yui_3_16_0_ym19_1_1534594421931_43260" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1534594421931_43260" dir="ltr">Output from the code</div><div id="yui_3_16_0_ym19_1_1534594421931_43260" dir="ltr">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_43982">Variable: MIR</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_43983">Type: ushort</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_43984">Total Size: 5229376 bytes</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_43985">            2614688 values</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_43986">Number of Dimensions: 3</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_43987">Dimensions and sizes:<span style="white-space:pre-wrap;" id="yui_3_16_0_ym19_1_1534594421931_43988">  </span>[time | 1] x [lat | 1616] x [lon | 1618]</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_43989">Coordinates: </div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_43990">            lat: [5401854.420193..-1058893.687497]</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_43991">            lon: [-3234623.003937..3234623.003937]</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_43992">Number Of Attributes: 18</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_43993">  DIMENSION_LIST :<span style="white-space:pre-wrap;" id="yui_3_16_0_ym19_1_1534594421931_43994"> </span><ARRAY of 0 elements></div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_43995">  _FillValue :<span style="white-space:pre-wrap;" id="yui_3_16_0_ym19_1_1534594421931_43996">    </span>1023</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_43997">  bandwidth :<span style="white-space:pre-wrap;" id="yui_3_16_0_ym19_1_1534594421931_43998">    </span>0.2</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_43999">  bits_per_pixel :<span style="white-space:pre-wrap;" id="yui_3_16_0_ym19_1_1534594421931_44000">        </span>10</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44001">  central_wavelength :<span style="white-space:pre-wrap;" id="yui_3_16_0_ym19_1_1534594421931_44002">     </span>3.9313</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44003">  grid_mapping :<span style="white-space:pre-wrap;" id="yui_3_16_0_ym19_1_1534594421931_44004">       </span>Projection_Information</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44005">  invert :<span style="white-space:pre-wrap;" id="yui_3_16_0_ym19_1_1534594421931_44006">     </span>trueection_Information</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44007">  lab_radiance_add_offset :<span style="white-space:pre-wrap;" id="yui_3_16_0_ym19_1_1534594421931_44008">    </span>-0.00413433</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44009">  lab_radiance_add_offset_gsics :<span style="white-space:pre-wrap;" id="yui_3_16_0_ym19_1_1534594421931_44010"> </span>-0.0110259</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44011">  lab_radiance_quad :<span style="white-space:pre-wrap;" id="yui_3_16_0_ym19_1_1534594421931_44012">      </span>-1.31797e-07</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44013">  lab_radiance_quad_gsics :<span style="white-space:pre-wrap;" id="yui_3_16_0_ym19_1_1534594421931_44014">      </span>-1.88751e-07</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44015">  lab_radiance_scale_factor :<span style="white-space:pre-wrap;" id="yui_3_16_0_ym19_1_1534594421931_44016">    </span>0.000281346</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44017">  lab_radiance_scale_factor_gsics :<span style="white-space:pre-wrap;" id="yui_3_16_0_ym19_1_1534594421931_44018">       </span>0.000402925</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44019">  long_name :<span style="white-space:pre-wrap;" id="yui_3_16_0_ym19_1_1534594421931_44020">     </span>Middle Infrared Countn</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44021">  radiance_units :<span style="white-space:pre-wrap;" id="yui_3_16_0_ym19_1_1534594421931_44022">     </span>mW.cm-2.sr-1.micron-1n</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44023">  resolution :<span style="white-space:pre-wrap;" id="yui_3_16_0_ym19_1_1534594421931_44024"> </span> 4</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44025">  resolution_unit :<span style="white-space:pre-wrap;" id="yui_3_16_0_ym19_1_1534594421931_44026">        </span>km.cm-2.sr-1.micron-1n</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44027">  wavelength_unit :<span style="white-space:pre-wrap;" id="yui_3_16_0_ym19_1_1534594421931_44028">    </span>micron2.sr-1.micron-1n</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44029">(0)<span style="white-space:pre-wrap;" id="yui_3_16_0_ym19_1_1534594421931_44030"> </span>MIRi   </div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44031">(0)<span style="white-space:pre-wrap;" id="yui_3_16_0_ym19_1_1534594421931_44032">      </span> </div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44033">(0)<span style="white-space:pre-wrap;" id="yui_3_16_0_ym19_1_1534594421931_44034"> </span>Middle Infrared Countn: min=0   max=1001</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44035"><br id="yui_3_16_0_ym19_1_1534594421931_44036"></div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44037">Variable: MIRF</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44038">Type: float</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44039">Total Size: 10458752 bytes</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44040">            2614688 values</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44041">Number of Dimensions: 3</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44042">Dimensions and sizes:<span style="white-space:pre-wrap;" id="yui_3_16_0_ym19_1_1534594421931_44043">       </span>[time | 1] x [lat | 1616] x [lon | 1618]</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44044">Coordinates: </div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44045">            lat: [5401854.420193..-1058893.687497]</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44046">            lon: [-3234623.003937..3234623.003937]</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44047">Number Of Attributes: 19</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44048">  _FillValue :<span style="white-space:pre-wrap;" id="yui_3_16_0_ym19_1_1534594421931_44049">     </span>1023</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44050">  _FillValue_original :<span style="white-space:pre-wrap;" id="yui_3_16_0_ym19_1_1534594421931_44051">  </span>1023</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44052">  wavelength_unit :<span style="white-space:pre-wrap;" id="yui_3_16_0_ym19_1_1534594421931_44053">      </span>micron2.sr-1.micron-1n</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44054">  resolution_unit :<span style="white-space:pre-wrap;" id="yui_3_16_0_ym19_1_1534594421931_44055">    </span>km.cm-2.sr-1.micron-1n</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44056">  resolution :<span style="white-space:pre-wrap;" id="yui_3_16_0_ym19_1_1534594421931_44057"> </span> 4</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44058">  radiance_units :<span style="white-space:pre-wrap;" id="yui_3_16_0_ym19_1_1534594421931_44059"> </span>mW.cm-2.sr-1.micron-1n</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44060">  long_name :<span style="white-space:pre-wrap;" id="yui_3_16_0_ym19_1_1534594421931_44061">  </span>Middle Infrared Countn</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44062">  lab_radiance_scale_factor_gsics :<span style="white-space:pre-wrap;" id="yui_3_16_0_ym19_1_1534594421931_44063">    </span>0.000402925</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44064">  lab_radiance_scale_factor :<span style="white-space:pre-wrap;" id="yui_3_16_0_ym19_1_1534594421931_44065">     </span>0.000281346</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44066">  lab_radiance_quad_gsics :<span style="white-space:pre-wrap;" id="yui_3_16_0_ym19_1_1534594421931_44067">       </span>-1.88751e-07</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44068">  lab_radiance_quad :<span style="white-space:pre-wrap;" id="yui_3_16_0_ym19_1_1534594421931_44069">    </span>-1.31797e-07</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44070">  lab_radiance_add_offset_gsics :<span style="white-space:pre-wrap;" id="yui_3_16_0_ym19_1_1534594421931_44071">        </span>-0.0110259</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44072">  lab_radiance_add_offset :<span style="white-space:pre-wrap;" id="yui_3_16_0_ym19_1_1534594421931_44073">        </span>-0.00413433</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44074">  invert :<span style="white-space:pre-wrap;" id="yui_3_16_0_ym19_1_1534594421931_44075">        </span>trueection_Information</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44076">  grid_mapping :<span style="white-space:pre-wrap;" id="yui_3_16_0_ym19_1_1534594421931_44077">       </span>Projection_Information</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44078">  central_wavelength :<span style="white-space:pre-wrap;" id="yui_3_16_0_ym19_1_1534594421931_44079"> </span>3.9313</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44080">  bits_per_pixel :<span style="white-space:pre-wrap;" id="yui_3_16_0_ym19_1_1534594421931_44081">     </span>10</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44082">  bandwidth :<span style="white-space:pre-wrap;" id="yui_3_16_0_ym19_1_1534594421931_44083">      </span>0.2</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44084">  DIMENSION_LIST :<span style="white-space:pre-wrap;" id="yui_3_16_0_ym19_1_1534594421931_44085">        </span><ARRAY of 0 elements></div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44086">(0)<span style="white-space:pre-wrap;" id="yui_3_16_0_ym19_1_1534594421931_44087">    </span> </div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44088">(0)<span style="white-space:pre-wrap;" id="yui_3_16_0_ym19_1_1534594421931_44089"> </span>Middle Infrared Countn: min=-0.00413433   max=0.277493</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44088">;;;;;;;;;;;;; O/P ended</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44088"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44088"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_44088">;;;;;;;;;;;;;;;;;;; </div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_46112">f     =   addfile("/home/aditya/geeta/ncl/h5/3DIMG_23JUN2018_0300_L1C_ASIA_MER.h5","r")</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_46113">;                 printVarSummary(f)</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_46114">                  print(f)</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_46115">        var   =   getfilevarnames(f)</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_46116">;                 print(var)</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_46117">       longt   =  f->X</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_46118">;                 printVarSummary(longt)</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_46119">                  print(longt(0))</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_46120">                  print(longt(1))</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_46121">       lati    =  f->Y</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_46122">;                 printVarSummary(lati)</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_46123">       TIME    =  f->time</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_46124"><br id="yui_3_16_0_ym19_1_1534594421931_46125"></div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_46126">       MIR       =   (f->IMG_MIR)</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_46127">       MIR!0     =   "time"</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_46128">       MIR!1     =   "lat"</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_46129">       MIR!2     =   "lon"</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_46130">       MIR&lat   =    lati</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_46131">       MIR&lon   =    longt</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_46132">       MIR&lat@units   = "degrees_north"</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_46133">       MIR&lon@units   = "degrees_east"</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_46134">       MIR@_FillValue  =  integertoshort(1023)</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_46135">                     printVarSummary(MIR)</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_46136">                     print("MIRi   ")</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_46137">                     printMinMax(MIR,True)</div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_46138"><br id="yui_3_16_0_ym19_1_1534594421931_46139"></div><div dir="ltr" id="yui_3_16_0_ym19_1_1534594421931_46140"><br></div><div id="yui_3_16_0_ym19_1_1534594421931_43260" dir="ltr">I have sent the data file. </div><div></div><div id="yui_3_16_0_ym19_1_1534594421931_62851"> </div><div class="signature" id="yui_3_16_0_ym19_1_1534594421931_43259">Geeta.</div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 13px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif; font-size: 16px;"> <div dir="ltr"><font size="2" face="Arial"> On Friday, 17 August 2018 8:14 AM, "ncl-talk-request@ucar.edu" <ncl-talk-request@ucar.edu> wrote:<br></font></div>  <br><br> <div class="y_msg_container"><div dir="ltr">Send ncl-talk mailing list submissions to<br></div><div dir="ltr">    <a ymailto="mailto:ncl-talk@ucar.edu" href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br></div><div dir="ltr"><br></div><div dir="ltr">To subscribe or unsubscribe via the World Wide Web, visit<br></div><div dir="ltr">    <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br></div><div dir="ltr">or, via email, send a message with subject or body 'help' to<br></div><div dir="ltr">    <a ymailto="mailto:ncl-talk-request@ucar.edu" href="mailto:ncl-talk-request@ucar.edu">ncl-talk-request@ucar.edu</a><br></div><div dir="ltr"><br></div><div dir="ltr">You can reach the person managing the list at<br></div><div dir="ltr">    <a ymailto="mailto:ncl-talk-owner@ucar.edu" href="mailto:ncl-talk-owner@ucar.edu">ncl-talk-owner@ucar.edu</a><br></div><div dir="ltr"><br></div><div dir="ltr">When replying, please edit your Subject line so it is more specific<br></div><div dir="ltr">than "Re: Contents of ncl-talk digest..."<br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">Today's Topics:<br></div><div dir="ltr"><br></div><div dir="ltr">   1. Re: confused about tickmarks (Mary Haley)<br></div><div dir="ltr">   2. Re: unable to plot correctly (Mary Haley)<br></div><div dir="ltr">   3. ???  Significance with contour: positive in solid line<br></div><div dir="ltr">      andnegative in dash line (=?gb18030?B?wfXV8Q==?=)<br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">----------------------------------------------------------------------<br></div><div dir="ltr"><br></div><div dir="ltr">Message: 1<br></div><div dir="ltr">Date: Thu, 16 Aug 2018 20:20:29 -0600<br></div><div dir="ltr">From: Mary Haley <<a ymailto="mailto:haley@ucar.edu" href="mailto:haley@ucar.edu">haley@ucar.edu</a>><br></div><div dir="ltr">To: Laura Fowler <<a ymailto="mailto:laura@ucar.edu" href="mailto:laura@ucar.edu">laura@ucar.edu</a>><br></div><div dir="ltr">Cc: Ncl-talk <<a ymailto="mailto:ncl-talk@ucar.edu" href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>><br></div><div dir="ltr">Subject: Re: [ncl-talk] confused about tickmarks<br></div><div dir="ltr">Message-ID:<br></div><div dir="ltr">    <CACNN_CJd=<a ymailto="mailto:PsHK5bvLa470WYzLEjqHcdid7fyYBYsCjW4W0aZvQ@mail.gmail.com" href="mailto:PsHK5bvLa470WYzLEjqHcdid7fyYBYsCjW4W0aZvQ@mail.gmail.com">PsHK5bvLa470WYzLEjqHcdid7fyYBYsCjW4W0aZvQ@mail.gmail.com</a>><br></div><div dir="ltr">Content-Type: text/plain; charset="utf-8"<br></div><div dir="ltr"><br></div><div dir="ltr">Hi Laura,<br></div><div dir="ltr"><br></div><div dir="ltr">I'm going through some older emails that look like they don't have<br></div><div dir="ltr">responses, and this is one of them.<br></div><div dir="ltr"><br></div><div dir="ltr">The gsn_csm_pres_hgt function is actually two plots overlaid on top of each<br></div><div dir="ltr">other.  The base plot is a "LogLin" plot which allows us to have a log<br></div><div dir="ltr">axis. The overlaid plot is the contour plot and it's the one that's setting<br></div><div dir="ltr">all the tickmark stuff.<br></div><div dir="ltr"><br></div><div dir="ltr">When you did a getvalues on plot, this is the LogLin plot and hence doesn't<br></div><div dir="ltr">have the tickmark labels.  If you call "print(plot)" you will see it has an<br></div><div dir="ltr">attribute "contour" that looks something like this:<br></div><div dir="ltr"><br></div><div dir="ltr">  contour : h_lat_contour contourPlotClass 11<br></div><div dir="ltr"><br></div><div dir="ltr">This is the thing you want to retrieve the labels from:<br></div><div dir="ltr"><br></div><div dir="ltr">getvalues <a ymailto="mailto:plot@contour" href="mailto:plot@contour">plot@contour</a><br></div><div dir="ltr">  "tmXBValues" : tmXBValues<br></div><div dir="ltr">end getvalues<br></div><div dir="ltr"><br></div><div dir="ltr">Did you get your labeling problem figured out?<br></div><div dir="ltr"><br></div><div dir="ltr">--Mary<br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">On Thu, Aug 2, 2018 at 9:41 AM, Laura Fowler <<a ymailto="mailto:laura@ucar.edu" href="mailto:laura@ucar.edu">laura@ucar.edu</a>> wrote:<br></div><div dir="ltr"><br></div><div dir="ltr">> Hello:<br></div><div dir="ltr">><br></div><div dir="ltr">> Following the -email I sent yesterday regarding tickmarks, I simplified my<br></div><div dir="ltr">> ncl script to understand about the bottom tickmarks are labelled by default<br></div><div dir="ltr">> so that I can understand how to change them using tmXBValues and<br></div><div dir="ltr">> tmXBLabels. The simplified script is in<br></div><div dir="ltr">><br></div><div dir="ltr">> /glade2/scratch2/laura/MPASprojects.2018/forPUBLICATION/TENDENCIES/<br></div><div dir="ltr">> rect.cu_kain_fritsch_sca.20151129-20160102 and the script is plot.ncl.<br></div><div dir="ltr">> Also see attached plot dtcup.kf.pdf.<br></div><div dir="ltr">><br></div><div dir="ltr">><br></div><div dir="ltr">> I tried to retrieve the default values of tmXBValues with the lines:<br></div><div dir="ltr">><br></div><div dir="ltr">><br></div><div dir="ltr">> <a ymailto="mailto:res2@tmXBMode" href="mailto:res2@tmXBMode">res2@tmXBMode</a> = "Automatic"<br></div><div dir="ltr">><br></div><div dir="ltr">> plot = gsn_csm_pres_hgt(wks,dtcup_interp_kf,res2)<br></div><div dir="ltr">><br></div><div dir="ltr">><br></div><div dir="ltr">> getvalues plot<br></div><div dir="ltr">><br></div><div dir="ltr">>    "tmXBValues" : tmXBValues<br></div><div dir="ltr">><br></div><div dir="ltr">> end getvalues<br></div><div dir="ltr">><br></div><div dir="ltr">> print(" ")<br></div><div dir="ltr">><br></div><div dir="ltr">> print(tmXBValues)<br></div><div dir="ltr">><br></div><div dir="ltr">> Then I get:<br></div><div dir="ltr">><br></div><div dir="ltr">> Variable: tmXBValues<br></div><div dir="ltr">><br></div><div dir="ltr">> Type: float<br></div><div dir="ltr">><br></div><div dir="ltr">> Total Size: 16 bytes<br></div><div dir="ltr">><br></div><div dir="ltr">>             4 values<br></div><div dir="ltr">><br></div><div dir="ltr">> Number of Dimensions: 1<br></div><div dir="ltr">><br></div><div dir="ltr">> Dimensions and sizes: [4]<br></div><div dir="ltr">><br></div><div dir="ltr">> Coordinates:<br></div><div dir="ltr">><br></div><div dir="ltr">> (0) 0<br></div><div dir="ltr">><br></div><div dir="ltr">> (1) 100<br></div><div dir="ltr">><br></div><div dir="ltr">> (2) 200<br></div><div dir="ltr">><br></div><div dir="ltr">> (3) 300<br></div><div dir="ltr">><br></div><div dir="ltr">> (0)<br></div><div dir="ltr">><br></div><div dir="ltr">> which is super confusing to me since the plot shows at least 6 values for<br></div><div dir="ltr">> the major tickmarks and not just 4. Is it possible to actually set<br></div><div dir="ltr">> different XB labels with gsn_csm_pres_hgt?<br></div><div dir="ltr">><br></div><div dir="ltr">><br></div><div dir="ltr">> I would really appreciate some hints on how to do this.<br></div><div dir="ltr">><br></div><div dir="ltr">><br></div><div dir="ltr">><br></div><div dir="ltr">> Many thanks,<br></div><div dir="ltr">><br></div><div dir="ltr">> Laura<br></div><div dir="ltr">><br></div><div dir="ltr">><br></div><div dir="ltr">><br></div><div dir="ltr">> --<br></div><div dir="ltr">> !-----------------------------------------------------------<br></div><div dir="ltr">> --------------------------------------------------<br></div><div dir="ltr">> Laura D. Fowler<br></div><div dir="ltr">><br></div><div dir="ltr">> Mesoscale and Microscale Meteorology Division (MMM)<br></div><div dir="ltr">> National Center for Atmospheric Research<br></div><div dir="ltr">> P.O. Box 3000, Boulder CO 80307-3000<br></div><div dir="ltr">><br></div><div dir="ltr">> e-mail: <a ymailto="mailto:laura@ucar.edu" href="mailto:laura@ucar.edu">laura@ucar.edu</a><br></div><div dir="ltr">> phone: 303-497-1628<br></div><div dir="ltr">><br></div><div dir="ltr">> !-----------------------------------------------------------<br></div><div dir="ltr">> --------------------------------------------------<br></div><div dir="ltr">><br></div><div dir="ltr">> _______________________________________________<br></div><div dir="ltr">> ncl-talk mailing list<br></div><div dir="ltr">> <a ymailto="mailto:ncl-talk@ucar.edu" href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br></div><div dir="ltr">> List instructions, subscriber options, unsubscribe:<br></div><div dir="ltr">> <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br></div><div dir="ltr">><br></div><div dir="ltr">><br></div><div dir="ltr">-------------- next part --------------<br></div><div dir="ltr">An HTML attachment was scrubbed...<br></div><div dir="ltr">URL: <<a href="http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180816/bfdeb56b/attachment-0001.html" target="_blank">http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180816/bfdeb56b/attachment-0001.html</a>><br></div><div dir="ltr"><br></div><div dir="ltr">------------------------------<br></div><div dir="ltr"><br></div><div dir="ltr">Message: 2<br></div><div dir="ltr">Date: Thu, 16 Aug 2018 20:21:56 -0600<br></div><div dir="ltr">From: Mary Haley <<a ymailto="mailto:haley@ucar.edu" href="mailto:haley@ucar.edu">haley@ucar.edu</a>><br></div><div dir="ltr">To: Geeta Geeta <<a ymailto="mailto:geetag54@yahoo.com" href="mailto:geetag54@yahoo.com">geetag54@yahoo.com</a>><br></div><div dir="ltr">Cc: "ncl-talk \[ncl-talk\]" <<a ymailto="mailto:ncl-talk@ucar.edu" href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>><br></div><div dir="ltr">Subject: Re: [ncl-talk] unable to plot correctly<br></div><div dir="ltr">Message-ID:<br></div><div dir="ltr">    <CACNN_C+<a ymailto="mailto:8vMWS_Q4dyXA1HMx65Hed3xp8cW_ac2Y61EDDDCphog@mail.gmail.com" href="mailto:8vMWS_Q4dyXA1HMx65Hed3xp8cW_ac2Y61EDDDCphog@mail.gmail.com">8vMWS_Q4dyXA1HMx65Hed3xp8cW_ac2Y61EDDDCphog@mail.gmail.com</a>><br></div><div dir="ltr">Content-Type: text/plain; charset="utf-8"<br></div><div dir="ltr"><br></div><div dir="ltr">Geeta,<br></div><div dir="ltr"><br></div><div dir="ltr">I don't know if you ever resolved this, but part of the problem is if you<br></div><div dir="ltr">are drawing contour lines of a very high-res plot, it is not a surprise<br></div><div dir="ltr">that you would get a lot of black lines.<br></div><div dir="ltr"><br></div><div dir="ltr">To make the plotting go faster, I suggest:<br></div><div dir="ltr"><br></div><div dir="ltr"><a ymailto="mailto:res@cnFillOn" href="mailto:res@cnFillOn">res@cnFillOn</a> = True<br></div><div dir="ltr"><a ymailto="mailto:res@cnFillMode" href="mailto:res@cnFillMode">res@cnFillMode</a> = "RasterFill"<br></div><div dir="ltr"><br></div><div dir="ltr">Dennis suggested that you use this:<br></div><div dir="ltr"><br></div><div dir="ltr">   MIRF = MIR*<a ymailto="mailto:MIR@lab_radiance_scale_factor" href="mailto:MIR@lab_radiance_scale_factor">MIR@lab_radiance_scale_factor</a> + <a ymailto="mailto:MIR@lab_radiance_add_offset" href="mailto:MIR@lab_radiance_add_offset">MIR@lab_radiance_add_offset</a><br></div><div dir="ltr"><br></div><div dir="ltr">but then in the script that you sent, MIRF is not used for plotting.<br></div><div dir="ltr">However, I think there would be an issue with plotting anyway, because when<br></div><div dir="ltr">you do a calculation like the above, all the metadata that was attached to<br></div><div dir="ltr">MIR is going to be stripped off, and MIRF will not have anything but a<br></div><div dir="ltr">_FillValue attribute. To fix something like that, we suggest:<br></div><div dir="ltr"><br></div><div dir="ltr">   MIRF = MIR*<a ymailto="mailto:MIR@lab_radiance_scale_factor" href="mailto:MIR@lab_radiance_scale_factor">MIR@lab_radiance_scale_factor</a> + <a ymailto="mailto:MIR@lab_radiance_add_offset" href="mailto:MIR@lab_radiance_add_offset">MIR@lab_radiance_add_offset</a><br></div><div dir="ltr"><br></div><div dir="ltr">  copy_VarMeta(MIR,MIRF)<br></div><div dir="ltr"><br></div><div dir="ltr">before you try to plot MIRF.<br></div><div dir="ltr"><br></div><div dir="ltr">If you are still having problems, it would help if you include a<br></div><div dir="ltr">printVarSummary output of various variables in your script, especially the<br></div><div dir="ltr">MIR variables and the lat/lon variables. Even better, if you could provide<br></div><div dir="ltr">the file on ftp.<br></div><div dir="ltr"><br></div><div dir="ltr">Thanks,<br></div><div dir="ltr"><br></div><div dir="ltr">--Mary<br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">On Wed, Aug 1, 2018 at 12:18 PM, Geeta Geeta <<a ymailto="mailto:geetag54@yahoo.com" href="mailto:geetag54@yahoo.com">geetag54@yahoo.com</a>> wrote:<br></div><div dir="ltr"><br></div><div dir="ltr">> thanks Dennis.<br></div><div dir="ltr">> I have to plot the count value only which is between 0-1001. (MinMax MIR).<br></div><div dir="ltr">> the plotting is over but the plot shows small white dots and is fully black<br></div><div dir="ltr">> on careful examination.<br></div><div dir="ltr">> I could not understand why should that be (i mean black with white dots)<br></div><div dir="ltr">> because below the plot, it is shown "Contour from 0-1001".<br></div><div dir="ltr">><br></div><div dir="ltr">> If I ON the contour resources, the code runs forever.<br></div><div dir="ltr">><br></div><div dir="ltr">><br></div><div dir="ltr">> thanks<br></div><div dir="ltr">> Geeta.<br></div><div dir="ltr">><br></div><div dir="ltr">><br></div><div dir="ltr">> On Wednesday, 1 August 2018 5:05 AM, Dennis Shea <<a ymailto="mailto:shea@ucar.edu" href="mailto:shea@ucar.edu">shea@ucar.edu</a>> wrote:<br></div><div dir="ltr">><br></div><div dir="ltr">><br></div><div dir="ltr">> I think this has been mentioned to you before:<br></div><div dir="ltr">><br></div><div dir="ltr">> *The most important rule in data processing is look at your data.'*---<br></div><div dir="ltr">> T*he 2nd-most important rule is* *read the documentation of the project.*<br></div><div dir="ltr">><br></div><div dir="ltr">> Note: It is not ncl-talk's job to read the documentation. It is your job.<br></div><div dir="ltr">> ---<br></div><div dir="ltr">><br></div><div dir="ltr">> Variable: MIR<br></div><div dir="ltr">> Type: *ushort*<br></div><div dir="ltr">> Dimensions and sizes: [DIM_000 | 1] x [DIM_001 | 1616] x [DIM_002 | 1618]<br></div><div dir="ltr">><br></div><div dir="ltr">>  * lab_radiance_add_offset *: -0.00413433<br></div><div dir="ltr">>   lab_radiance_add_offset_gsics : -0.0110259<br></div><div dir="ltr">>   lab_radiance_quad : -1.31797e-07<br></div><div dir="ltr">>   lab_radiance_quad_gsics : -1.88751e-07<br></div><div dir="ltr">>   *lab_radiance_scale_factor *: 0.000281346<br></div><div dir="ltr">>   lab_radiance_scale_factor_ gsics : 0.000402925<br></div><div dir="ltr">><br></div><div dir="ltr">> I *speculate* that to get correct values you would have to use something<br></div><div dir="ltr">> like:<br></div><div dir="ltr">><br></div><div dir="ltr">>    MIRF = MIR***MIR@*lab_radiance_scale_factor + MIR@*<br></div><div dir="ltr">><br></div><div dir="ltr">> *lab_radiance_add_offset*<br></div><div dir="ltr">> or<br></div><div dir="ltr">><br></div><div dir="ltr">><br></div><div dir="ltr">>    MIRF = *(*MIR* + **<a ymailto="mailto:MIR@lab_radiance_add_offset" href="mailto:MIR@lab_radiance_add_offset">MIR@lab_radiance_add_offset</a>**)**MIR@<br></div><div dir="ltr">> *lab_radiance_scale_factor*<br></div><div dir="ltr">><br></div><div dir="ltr">> or<br></div><div dir="ltr">><br></div><div dir="ltr">><br></div><div dir="ltr">> *   ????*<br></div><div dir="ltr">> Again, this is your responsibility.<br></div><div dir="ltr">><br></div><div dir="ltr">> Good Luck<br></div><div dir="ltr">><br></div><div dir="ltr">> On Tue, Jul 31, 2018 at 11:27 AM, Geeta Geeta <<a ymailto="mailto:geetag54@yahoo.com" href="mailto:geetag54@yahoo.com">geetag54@yahoo.com</a>> wrote:<br></div><div dir="ltr">><br></div><div dir="ltr">> Hi all.<br></div><div dir="ltr">> I am trying to plot MIR_int (variable defined in the ncl code), but it is<br></div><div dir="ltr">> not being plotted properly. the output is without any error<br></div><div dir="ltr">><br></div><div dir="ltr">><br></div><div dir="ltr">> <a ymailto="mailto:aditya@agniilap" href="mailto:aditya@agniilap">aditya@agniilap</a>:~/geeta/ncl/ h5$ ../bin/ncl readh5.v2.ncl<br></div><div dir="ltr">>  Copyright (C) 1995-2014 - All Rights Reserved<br></div><div dir="ltr">>  University Corporation for Atmospheric Research<br></div><div dir="ltr">>  NCAR Command Language Version 6.2.1<br></div><div dir="ltr">>  The use of this software is governed by a License Agreement.<br></div><div dir="ltr">>  See <a href="http://www.ncl.ucar.edu/" target="_blank">http://www.ncl.ucar.edu/ </a>for more details.<br></div><div dir="ltr">><br></div><div dir="ltr">> Variable: f<br></div><div dir="ltr">> Type: file<br></div><div dir="ltr">> File path: /home/aditya/geeta/ncl/h5/ 3DIMG_23JUN2018_0300_L1C_ASIA_<br></div><div dir="ltr">> MER.h5<br></div><div dir="ltr">> Number of global attributes: 38<br></div><div dir="ltr">> Number of dimensions: 4<br></div><div dir="ltr">> Number of variables: 27<br></div><div dir="ltr">><br></div><div dir="ltr">><br></div><div dir="ltr">> Variable: var<br></div><div dir="ltr">> Type: string<br></div><div dir="ltr">> Total Size: 108 bytes<br></div><div dir="ltr">>             27 values<br></div><div dir="ltr">> Number of Dimensions: 1<br></div><div dir="ltr">> Dimensions and sizes: [27]<br></div><div dir="ltr">> Coordinates:<br></div><div dir="ltr">> (0) /GreyCount<br></div><div dir="ltr">> (1) /IMG_MIR<br></div><div dir="ltr">> (2) /IMG_MIR_RADIANCE<br></div><div dir="ltr">> (3) /IMG_MIR_TEMP<br></div><div dir="ltr">> (4) /IMG_SWIR<br></div><div dir="ltr">> (5) /IMG_SWIR_RADIANCE<br></div><div dir="ltr">> (6) /IMG_TIR1<br></div><div dir="ltr">> (7) /IMG_TIR1_RADIANCE<br></div><div dir="ltr">> (8) /IMG_TIR1_TEMP<br></div><div dir="ltr">> (9) /IMG_TIR2<br></div><div dir="ltr">> (10) /IMG_TIR2_RADIANCE<br></div><div dir="ltr">> (11) /IMG_TIR2_TEMP<br></div><div dir="ltr">> (12) /IMG_VIS<br></div><div dir="ltr">> (13) /IMG_VIS_ALBEDO<br></div><div dir="ltr">> (14) /IMG_VIS_RADIANCE<br></div><div dir="ltr">> (15) /IMG_WV<br></div><div dir="ltr">> (16) /IMG_WV_RADIANCE<br></div><div dir="ltr">> (17) /IMG_WV_TEMP<br></div><div dir="ltr">> (18) /Projection_Information<br></div><div dir="ltr">> (19) /Sat_Azimuth<br></div><div dir="ltr">> (20) /Sat_Elevation<br></div><div dir="ltr">> (21) /Sun_Azimuth<br></div><div dir="ltr">> (22) /Sun_Elevation<br></div><div dir="ltr">> (23) /X<br></div><div dir="ltr">> (24) /Y<br></div><div dir="ltr">> (25) /proj_dim<br></div><div dir="ltr">> (26) /time<br></div><div dir="ltr">><br></div><div dir="ltr">> Variable: MIR<br></div><div dir="ltr">> Type: ushort<br></div><div dir="ltr">> Total Size: 5229376 bytes<br></div><div dir="ltr">>             2614688 values<br></div><div dir="ltr">> Number of Dimensions: 3<br></div><div dir="ltr">> Dimensions and sizes: [DIM_000 | 1] x [DIM_001 | 1616] x [DIM_002 | 1618]<br></div><div dir="ltr">> Coordinates:<br></div><div dir="ltr">> Number Of Attributes: 18<br></div><div dir="ltr">>   DIMENSION_LIST : <ARRAY of 0 elements><br></div><div dir="ltr">>   _FillValue : 1023<br></div><div dir="ltr">>   bandwidth : 0.2<br></div><div dir="ltr">>   bits_per_pixel : 10<br></div><div dir="ltr">>   central_wavelength : 3.9313<br></div><div dir="ltr">>   grid_mapping : Projection_Information<br></div><div dir="ltr">>   invert : trueection_Information<br></div><div dir="ltr">>   lab_radiance_add_offset : -0.00413433<br></div><div dir="ltr">>   lab_radiance_add_offset_gsics : -0.0110259<br></div><div dir="ltr">>   lab_radiance_quad : -1.31797e-07<br></div><div dir="ltr">>   lab_radiance_quad_gsics : -1.88751e-07<br></div><div dir="ltr">>   lab_radiance_scale_factor : 0.000281346<br></div><div dir="ltr">>   lab_radiance_scale_factor_ gsics : 0.000402925<br></div><div dir="ltr">>   long_name : Middle Infrared Countn<br></div><div dir="ltr">>   radiance_units : mW.cm-2.sr-1.micron-1n<br></div><div dir="ltr">>   resolution : 4<br></div><div dir="ltr">>   resolution_unit : km.cm-2.sr-1.micron-1n<br></div><div dir="ltr">>   wavelength_unit : micron2.sr-1.micron-1n<br></div><div dir="ltr">><br></div><div dir="ltr">> Variable: MIR_int<br></div><div dir="ltr">> Type: integer<br></div><div dir="ltr">> Total Size: 10458752 bytes<br></div><div dir="ltr">>             2614688 values<br></div><div dir="ltr">> Number of Dimensions: 2<br></div><div dir="ltr">> Dimensions and sizes: [1616] x [1618]<br></div><div dir="ltr">> Coordinates:<br></div><div dir="ltr">> Number Of Attributes: 1<br></div><div dir="ltr">>   _FillValue : 1023<br></div><div dir="ltr">> (0)<br></div><div dir="ltr">> (0) Middle Infrared Countn: min=0   max=1001<br></div><div dir="ltr">><br></div><div dir="ltr">> Variable: longi<br></div><div dir="ltr">> Type: double<br></div><div dir="ltr">> Total Size: 12944 bytes<br></div><div dir="ltr">>             1618 values<br></div><div dir="ltr">> Number of Dimensions: 1<br></div><div dir="ltr">> Dimensions and sizes: [DIM_002 | 1618]<br></div><div dir="ltr">> Coordinates:<br></div><div dir="ltr">> Number Of Attributes: 5<br></div><div dir="ltr">>   CLASS : DIMENSION_SCALE<br></div><div dir="ltr">>   REFERENCE_LIST : <ARRAY of 0 elements><br></div><div dir="ltr">>   long_name : x coordinate of projectionperaturerature<br></div><div dir="ltr">>   standard_name : projection_x_ coordinateionperaturerature<br></div><div dir="ltr">>   units : mrojection_x_ coordinateionperaturerature<br></div><div dir="ltr">> (0)<br></div><div dir="ltr">> (0) x coordinate of projectionperaturerature: min=-3234623.003937<br></div><div dir="ltr">> max=3234623.003937<br></div><div dir="ltr">><br></div><div dir="ltr">> Variable: lati<br></div><div dir="ltr">> Type: double<br></div><div dir="ltr">> Total Size: 12928 bytes<br></div><div dir="ltr">>             1616 values<br></div><div dir="ltr">> Number of Dimensions: 1<br></div><div dir="ltr">> Dimensions and sizes: [DIM_001 | 1616]<br></div><div dir="ltr">> Coordinates:<br></div><div dir="ltr">> Number Of Attributes: 5<br></div><div dir="ltr">>   CLASS : DIMENSION_SCALE<br></div><div dir="ltr">>   REFERENCE_LIST : <ARRAY of 0 elements><br></div><div dir="ltr">>   long_name : y coordinate of projectionperaturerature<br></div><div dir="ltr">>   standard_name : projection_y_ coordinateionperaturerature<br></div><div dir="ltr">>   units : mrojection_y_ coordinateionperaturerature<br></div><div dir="ltr">> (0)<br></div><div dir="ltr">> (0) y coordinate of projectionperaturerature: min=-1058893.687497<br></div><div dir="ltr">> max=5401854.420193<br></div><div dir="ltr">><br></div><div dir="ltr">> Variable: TIME<br></div><div dir="ltr">> Type: double<br></div><div dir="ltr">> Total Size: 8 bytes<br></div><div dir="ltr">>             1 values<br></div><div dir="ltr">> Number of Dimensions: 1<br></div><div dir="ltr">> Dimensions and sizes: [DIM_000 | 1]<br></div><div dir="ltr">> Coordinates:<br></div><div dir="ltr">> Number Of Attributes: 3<br></div><div dir="ltr">>   CLASS : DIMENSION_SCALE<br></div><div dir="ltr">>   REFERENCE_LIST : <ARRAY of 0 elements><br></div><div dir="ltr">>   units : minutes since 2000-01-01 00:00:00erature<br></div><div dir="ltr">><br></div><div dir="ltr">> Variable: proj<br></div><div dir="ltr">> Type: integer<br></div><div dir="ltr">> Total Size: 4 bytes<br></div><div dir="ltr">>             1 values<br></div><div dir="ltr">> Number of Dimensions: 1<br></div><div dir="ltr">> Dimensions and sizes: [DIM_000 | 1]<br></div><div dir="ltr">> Coordinates:<br></div><div dir="ltr">> Number Of Attributes: 13<br></div><div dir="ltr">>   DIMENSION_LIST : <ARRAY of 0 elements><br></div><div dir="ltr">>   false_easting :   0<br></div><div dir="ltr">>   false_northing :   0<br></div><div dir="ltr">>   grid_mapping_name : mercatorpor Brightness Temperaturerature<br></div><div dir="ltr">>   longitude_of_projection_origin :  75<br></div><div dir="ltr">>   lower_left_lat_lon(degrees) : (  -10, 44.5 )<br></div><div dir="ltr">>   lower_right_lat_lon(degrees) : (  -10, 105.5 )<br></div><div dir="ltr">>   semi_major_axis : 6378137<br></div><div dir="ltr">>   semi_minor_axis : 6356752.3142<br></div><div dir="ltr">>   standard_parallel : 17.75<br></div><div dir="ltr">>   upper_left_lat_lon(degrees) : ( 45.5, 44.5 )<br></div><div dir="ltr">>   upper_left_xy(meters) : ( -3234623.003937, 5401854.420193 )<br></div><div dir="ltr">>   upper_right_lat_lon(degrees) : ( 45.5, 105.5 )<br></div><div dir="ltr">> (0)<br></div><div dir="ltr">> (0) min=1461309144   max=1461309144<br></div><div dir="ltr">> (0) check_for_y_lat_coord: Warning: Data either does not contain a valid<br></div><div dir="ltr">> latitude coordinate array or doesn't contain one at all.<br></div><div dir="ltr">> (0) A valid latitude coordinate array should have a 'units' attribute<br></div><div dir="ltr">> equal to one of the following values:<br></div><div dir="ltr">> (0)    'degrees_north' 'degrees-north' 'degree_north' 'degrees north'<br></div><div dir="ltr">> 'degrees_N' 'Degrees_north' 'degree_N' 'degreeN' 'degreesN' 'deg north'<br></div><div dir="ltr">> (0) check_for_lon_coord: Warning: Data either does not contain a valid<br></div><div dir="ltr">> longitude coordinate array or doesn't contain one at all.<br></div><div dir="ltr">> (0) A valid longitude coordinate array should have a 'units' attribute<br></div><div dir="ltr">> equal to one of the following values:<br></div><div dir="ltr">> (0)    'degrees_east' 'degrees-east' 'degree_east' 'degrees east'<br></div><div dir="ltr">> 'degrees_E' 'Degrees_east' 'degree_E' 'degreeE' 'degreesE' 'deg east'<br></div><div dir="ltr">> <a ymailto="mailto:aditya@agniilap" href="mailto:aditya@agniilap">aditya@agniilap</a>:~/geeta/ncl/ h5$<br></div><div dir="ltr">><br></div><div dir="ltr">><br></div><div dir="ltr">> thanks<br></div><div dir="ltr">><br></div><div dir="ltr">> Geeta.<br></div><div dir="ltr">><br></div><div dir="ltr">> ______________________________ _________________<br></div><div dir="ltr">> ncl-talk mailing list<br></div><div dir="ltr">> <a ymailto="mailto:ncl-talk@ucar.edu" href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br></div><div dir="ltr">> List instructions, subscriber options, unsubscribe:<br></div><div dir="ltr">> <a href="http://mailman.ucar.edu/" target="_blank">http://mailman.ucar.edu/ </a>mailman/listinfo/ncl-talk<br></div><div dir="ltr">> <<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a>><br></div><div dir="ltr">><br></div><div dir="ltr">><br></div><div dir="ltr">><br></div><div dir="ltr">><br></div><div dir="ltr">><br></div><div dir="ltr">> _______________________________________________<br></div><div dir="ltr">> ncl-talk mailing list<br></div><div dir="ltr">> <a ymailto="mailto:ncl-talk@ucar.edu" href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br></div><div dir="ltr">> List instructions, subscriber options, unsubscribe:<br></div><div dir="ltr">> <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br></div><div dir="ltr">><br></div><div dir="ltr">><br></div><div dir="ltr">-------------- next part --------------<br></div><div dir="ltr">An HTML attachment was scrubbed...<br></div><div dir="ltr">URL: <<a href="http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180816/4fc5039b/attachment-0001.html" target="_blank">http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180816/4fc5039b/attachment-0001.html</a>><br></div><div dir="ltr"><br></div><div dir="ltr">------------------------------<br></div><div dir="ltr"><br></div><div dir="ltr">Message: 3<br></div><div dir="ltr">Date: Fri, 17 Aug 2018 10:43:41 +0800<br></div><div dir="ltr">From: "=?gb18030?B?wfXV8Q==?=" <<a ymailto="mailto:286909655@qq.com" href="mailto:286909655@qq.com">286909655@qq.com</a>><br></div><div dir="ltr">To: "=?gb18030?B?TWFyeSBIYWxleQ==?=" <<a ymailto="mailto:haley@ucar.edu" href="mailto:haley@ucar.edu">haley@ucar.edu</a>><br></div><div dir="ltr">Cc: NCL <<a ymailto="mailto:ncl-talk@ucar.edu" href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>><br></div><div dir="ltr">Subject: [ncl-talk] ???  Significance with contour: positive in solid<br></div><div dir="ltr">    line andnegative in dash line<br></div><div dir="ltr">Message-ID: <<a ymailto="mailto:tencent_BE9334A174DB2BD1BAB01EBE8933E95DED0A@qq.com" href="mailto:tencent_BE9334A174DB2BD1BAB01EBE8933E95DED0A@qq.com">tencent_BE9334A174DB2BD1BAB01EBE8933E95DED0A@qq.com</a>><br></div><div dir="ltr">Content-Type: text/plain; charset="gb18030"<br></div><div dir="ltr"><br></div><div dir="ltr">Dear Mary,<br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">  Thanks a lot for you reply and very good suggestions.<br></div><div dir="ltr">  Your methods perfectly solve my second problem.<br></div><div dir="ltr">  But, for the first one, it is, somehow, a little tricky. The contour line I want to plot represents p value (according to student's t test), which is always positive. In order to plot the positive (value in shading) with solid line while negative with dash line, I use ?prob=where(var.lt.0,-prob,prob)? in my script to change the p value (i.e., prob) first. Then I plot the p value using contour with negative p value in dash. But the region at 95% significant area totally changed. Please check the differences between the two outputs attached. The var.pdf should be the right one. Could you please help me to solve this issue. Thanks.<br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">Best regards,<br></div><div dir="ltr">zhen<br></div><div dir="ltr"> <br></div><div dir="ltr"><br></div><div dir="ltr">------------------<br></div><div dir="ltr">??<br></div><div dir="ltr"> ????<br></div><div dir="ltr">?????????<br></div><div dir="ltr">?????<br></div><div dir="ltr">Phone: +86-15013246049<br></div><div dir="ltr"> Liu  Zhen<br></div><div dir="ltr"> Department of Atmospheric Science<br></div><div dir="ltr">School of Environmental Science and Engineering<br></div><div dir="ltr"> Sun Yat-sen University<br></div><div dir="ltr">Email address: <a ymailto="mailto:liuzhen9@mail2.sysu.edu.cn" href="mailto:liuzhen9@mail2.sysu.edu.cn">liuzhen9@mail2.sysu.edu.cn</a> <br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr"> <br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">------------------ ???? ------------------<br></div><div dir="ltr">???: "Mary Haley"<<a ymailto="mailto:haley@ucar.edu" href="mailto:haley@ucar.edu">haley@ucar.edu</a>>;<br></div><div dir="ltr">????: 2018?8?17?(???) ??7:49<br></div><div dir="ltr">???: "??"<<a ymailto="mailto:286909655@qq.com" href="mailto:286909655@qq.com">286909655@qq.com</a>>;<br></div><div dir="ltr">??: "ncl-talk"<<a ymailto="mailto:ncl-talk@ucar.edu" href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>>; <br></div><div dir="ltr">??: Re: [ncl-talk] Significance with contour: positive in solid line andnegative in dash line<br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">Dear Zhen,<br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">One way to find out if there's an example for something specific you are trying to do, you can use the "tips" link on the examples page:<br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">List of tips, resources, functions/procedures and the example scripts they appear in.<br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">Which takes you to this page:<br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr"><a href="http://www.ncl.ucar.edu/Applications/concepts_list.shtml" target="_blank">http://www.ncl.ucar.edu/Applications/concepts_list.shtml</a><br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">You can then use your browser search to search for "negative" or "positive".  You will find this under the search for "negative":<br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">Drawing negative contour lines as dashed lines<br></div><div dir="ltr">    conOncon_1.ncl (contours on contours)<br></div><div dir="ltr">    conOncon_2.ncl (contours on contours)<br></div><div dir="ltr">    conOncon_4.ncl (contours on contours)<br></div><div dir="ltr">    coneff_3.ncl (contour effects)<br></div><div dir="ltr">    coneff_5.ncl (contour effects)<br></div><div dir="ltr">    coneff_6.ncl (contour effects)<br></div><div dir="ltr">    coneff_9.ncl (contour effects)<br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">I recommend clicking on the link inside the "(...)" and not the actual NCL script, because this way you can see the description of the example, the image, and the link to the script. A good example to start with is "coneff_3.ncl":<br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr"><a href="http://www.ncl.ucar.edu/Applications/coneff.shtml#ex3" target="_blank">http://www.ncl.ucar.edu/Applications/coneff.shtml#ex3</a><br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">which mentions two resources, gsnContourNegLineDashPattern and gsnContourPosLineDashPattern<br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr"><a href="http://www.ncl.ucar.edu/Document/Graphics/Resources/gsn.shtml#gsnContourNegLineDashPattern" target="_blank">http://www.ncl.ucar.edu/Document/Graphics/Resources/gsn.shtml#gsnContourNegLineDashPattern</a><br></div><div dir="ltr"><br></div><div dir="ltr"><a href="http://www.ncl.ucar.edu/Document/Graphics/Resources/gsn.shtml#gsnContourPosLineDashPattern" target="_blank">http://www.ncl.ucar.edu/Document/Graphics/Resources/gsn.shtml#gsnContourPosLineDashPattern</a><br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">which should hopefully answer your first question.<br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">To answer your second question, you can also use the "tips" page, but this time search for "dot" or "stipple". In this case, "dot" gives you the best results, and "coneff_11.ncl" may be the best example to look into.  The resources cnFillScaleF and cnFillDotSizeF may help you with the density and size of your dots.<br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr"><a href="http://www.ncl.ucar.edu/Applications/coneff.shtml#ex11" target="_blank">http://www.ncl.ucar.edu/Applications/coneff.shtml#ex11</a><br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">If this doesn't help, please post back to ncl-talk.<br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">Thanks,<br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">--Mary<br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">On Thu, Aug 16, 2018 at 8:02 AM, ?? <<a ymailto="mailto:286909655@qq.com" href="mailto:286909655@qq.com">286909655@qq.com</a>> wrote:<br></div><div dir="ltr">Dear Sir/Madam,<br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">  I use the script attached to plot the significance area (student's t test) with contour lines. I am wondering if there is a way to make the positive area (shading) in solid line while negative area in dash line. The output is also attached. Thanks.<br></div><div dir="ltr">  For another output named T2-CTLF-CTL-sum.pdf, most of the area are at 95% significant. By contrast, only region not significant show with contours. Could you also tell me how to deal with such kind of situation. I try to use dot instead of contour to show significant area. But all the plot become black because of the data at a high resolution. Here comes the question that how to decrease the density of the dots? Thanks.<br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">Best regards,<br></div><div dir="ltr">zhen<br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">------------------<br></div><div dir="ltr">??<br></div><div dir="ltr"> ????<br></div><div dir="ltr">?????????<br></div><div dir="ltr">?????<br></div><div dir="ltr">Phone: +86-15013246049<br></div><div dir="ltr"> Liu  Zhen<br></div><div dir="ltr"> Department of Atmospheric Science<br></div><div dir="ltr">School of Environmental Science and Engineering<br></div><div dir="ltr"> Sun Yat-sen University<br></div><div dir="ltr">Email address: <a ymailto="mailto:liuzhen9@mail2.sysu.edu.cn" href="mailto:liuzhen9@mail2.sysu.edu.cn">liuzhen9@mail2.sysu.edu.cn</a> <br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr"> <br></div><div dir="ltr"><br></div><div dir="ltr">_______________________________________________<br></div><div dir="ltr"> ncl-talk mailing list<br></div><div dir="ltr"> <a ymailto="mailto:ncl-talk@ucar.edu" href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br></div><div dir="ltr"> List instructions, subscriber options, unsubscribe:<br></div><div dir="ltr"> <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br></div><div dir="ltr">-------------- next part --------------<br></div><div dir="ltr">An HTML attachment was scrubbed...<br></div><div dir="ltr">URL: <<a href="http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180817/5f32680a/attachment.html" target="_blank">http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180817/5f32680a/attachment.html</a>><br></div><div dir="ltr">-------------- next part --------------<br></div><div dir="ltr">A non-text attachment was scrubbed...<br></div><div dir="ltr">Name: T2.pdf<br></div><div dir="ltr">Type: application/octet-stream<br></div><div dir="ltr">Size: 712381 bytes<br></div><div dir="ltr">Desc: not available<br></div><div dir="ltr">URL: <<a href="http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180817/5f32680a/attachment.obj" target="_blank">http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180817/5f32680a/attachment.obj</a>><br></div><div dir="ltr">-------------- next part --------------<br></div><div dir="ltr">A non-text attachment was scrubbed...<br></div><div dir="ltr">Name: var.pdf<br></div><div dir="ltr">Type: application/octet-stream<br></div><div dir="ltr">Size: 624750 bytes<br></div><div dir="ltr">Desc: not available<br></div><div dir="ltr">URL: <<a href="http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180817/5f32680a/attachment-0001.obj" target="_blank">http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180817/5f32680a/attachment-0001.obj</a>><br></div><div dir="ltr"><br></div><div dir="ltr">------------------------------<br></div><div dir="ltr"><br></div><div dir="ltr">Subject: Digest Footer<br></div><div dir="ltr"><br></div><div dir="ltr">_______________________________________________<br></div><div dir="ltr">ncl-talk mailing list<br></div><div dir="ltr"><a ymailto="mailto:ncl-talk@ucar.edu" href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br></div><div dir="ltr">List instructions, subscriber options, unsubscribe:<br></div><div dir="ltr"><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">------------------------------<br></div><div dir="ltr"><br></div><div dir="ltr">End of ncl-talk Digest, Vol 177, Issue 29<br></div><div dir="ltr">*****************************************<br></div><br><br></div>  </div> </div>  </div></div></body></html>