<div dir="ltr">I have a RAP file which I converted to netCDF.<div><br></div><div>I want to plot three variables (one filled, two contoured) over a map. This can be done rather easily with the wrf_map_overlays function for WRF-ARW data, but it doesn't seem there is an equivalent function for non-WRF data. My current plan is to use gsn_csm_contour_map_overlays for the first two, then take that plot and the use overlay for the third. Will this work? Is there a better way? The documentation makes it seem that gsn_csm_contour_map can only handle two datasets at a time.</div><div><br></div><div>In doing this, I get two main errors: </div><div><br></div><div>The first is that all of my map plotting options are not valid. I made sure that the opts for just the first variable in gsn_csm_contour_map had the map plotting options, since that's what the documentation says to do.</div><div><br></div><div>The second is this:</div><div><br></div><div><div><font face="monospace, monospace">fatal:Argument type mismatch on argument (1) of (gsn_csm_contour_map_overlay) can not coerce</font></div><div><font face="monospace, monospace">fatal:["Execute.c":8578]:Execute: Error occurred at or near line 190 in file rap_fgen_1.ncl</font></div><div><br></div><div>Here's a code snippet:</div><div><br></div><div><div><font face="monospace, monospace">; Plotting options for fgen</font></div><div><font face="monospace, monospace"> opts3 = True</font></div><div><font face="monospace, monospace"> [...]</font></div><div><font face="monospace, monospace"> contour_fgen = gsn_csm_contour(wks,pett_fgen,opts3)</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace"> ; Plotting options for pv</font></div><div><font face="monospace, monospace"> opts = mpres</font></div><div><font face="monospace, monospace"> [...]</font></div><div><font face="monospace, monospace"> fill_pv = gsn_csm_contour(wks,pv300,opts)</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace"> ; Plotting options for SLP</font></div><div><font face="monospace, monospace"> opts2 = True</font></div><div><font face="monospace, monospace"> [...]</font></div><div><font face="monospace, monospace"> contour_psl = gsn_csm_contour(wks,slp,opts2)</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace"> ; MAKE PLOTS</font></div><div><font face="monospace, monospace"> plot = gsn_csm_contour_map_overlay(wks,fill_pv,contour_psl,opts,opts2)</font></div><div><font face="monospace, monospace"> overlay(plot,contour_fgen)</font></div></div><div><br></div><div><br></div><div>Thank you in advance!</div><div>Ryan</div><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><font size="1">Ryan Connelly</font></div><div dir="ltr"><div dir="ltr" style="font-size:12.8px"><font color="#000000"><font size="1">M.S. Student in Atmospheric Sciences, </font><span style="font-size:x-small">Stony Brook University</span><br></font></div><div dir="ltr" style="font-size:12.8px"><div><font color="#000000"><font size="1">B.S. in Meteorology with Minors in Mathematics and GIS, </font><span style="font-size:x-small">Valparaiso University</span></font></div></div><div><a href="mailto:rconne01@gmail.com" style="font-size:x-small" target="_blank">rconne01@gmail.com</a><br></div><div><font size="1"><a href="mailto:ryan.connelly@stonybrook.edu" target="_blank">ryan.connelly@stonybrook.edu</a></font></div></div></div></div></div></div></div></div></div></div>
</div></div>