Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read a Wrong Range of XLONG #172

Open
yang7ke opened this issue Sep 10, 2021 · 0 comments
Open

Read a Wrong Range of XLONG #172

yang7ke opened this issue Sep 10, 2021 · 0 comments

Comments

@yang7ke
Copy link

yang7ke commented Sep 10, 2021

Describe the bug
I use three softwares (NCL, Ncview, VAPOR) to read a WRF ouput file.
The issue is that the displayed range of XLONG by NCL is significantly different from Ncview and VAPOR:
NCL: 95.0 to 95.35
Ncview: 95.0249 to 95.5895
VAPOR: 95.0268 to 95.5881
you can download the Screenshot of my operation by browsing the website below:
https://rec.ustc.edu.cn/share/f0870f60-121a-11ec-b6b6-452614aec25b

Provide the following:

  • a concise NCL script demonstrating the issue (remove unnecessary code)
  a = addfile("wrfout_d03_2020-07-31_00:00:00.nc","r")
  wks = gsn_open_wks("png","test")
  time = 1
  slp = wrf_user_getvar(a,"slp",time)  ; slp
        wrf_smooth_2d( slp, 3 )        ; smooth slp
  tc2 = wrf_user_getvar(a,"T2",time)   ; T2 in Kelvin
  u10 = wrf_user_getvar(a,"U10",time)  ; u at 10 m
  v10 = wrf_user_getvar(a,"V10",time)  ; v at 10 [m]
   rest = True
  rest@cnFillOn = True
  contour_t = wrf_contour(a,wks,tc2,rest)
  resp = True
  resp@cnLineColor = "NavyBlue"
  contour_p = wrf_contour(a,wks,slp,resp)
  resw = True
  vector = wrf_vector(a,wks,u10,v10,resw)
  over_id = wrf_map_overlays(a, wks,(/contour_t,contour_p,vector/),True,True)

Computing environment

  • OS: Linux
  • OS version: Ubuntu 19.04
  • NCL Version: 6.6.2
  • Installation method: binary from NCAR website
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant