특정 위치의 데이터 읽기

게시판 IDL Q&A 특정 위치의 데이터 읽기

0 답변 글타래를 보이고 있습니다
  • 글쓴이
    • #5351 Reply
      yelim
      회원

      n_time = 96
      westsea = dblarr(n_time) & westsea[*] = !values.d_nan

      time = dblarr(96) & time[*] = !values.d_nan
      time[0] = julday(3,23,2018,0,0,0)
      for i = 1, n_time-1 do time[i] = time[0]+i/24d
      e
      for i_time = 0, n_time-2 do begin
      widx = where(lon ge 119 and lon le 126 and lat ge 34 and lat le 40, n_widx)
      if n_widx gt 0 then begin
      westsea[i_time] = mean(aod[widx], /nan) ; 왜 다 똑같은거야

      endif
      endfor

      dumy = label_date(date_format=[‘%N/%D’])
      cgplot, time, westsea[*], /nodata, color = ‘blue’, $
      xtickformat = [‘LABEL_DATE’], xtickunits = [‘Days’], $
      xtitle=’Month/Day’, ytitle = ‘AOD at 550nm’, $
      yrange= [0,3], xstyle = 1, position = position

      안녕하세요 다음과 같이 특정 위치에 대해서 시간별로 데이터를 평균하려고 합니다.
      hdf 파일로 데이터들을 읽어둔 상황이고요.
      그런데 완성된 그래프를 보면 축이랑 다 나타나는데 데이터값만 없습니다.
      westsea에 마우스 커서를 두어도 다 똑같은 값만 96개(n_time)가 있습니다.
      어떤 부분이 잘못된 걸까요..?

0 답변 글타래를 보이고 있습니다
'특정 위치의 데이터 읽기'에 답변달기
글쓴이 정보: