janjunjon / master-core

0 stars 0 forks source link

add function to calculate water vapor divergence #80

Closed janjunjon closed 2 years ago

janjunjon commented 2 years ago

need MSMs['sp'], so include sp in ConvertedMSMs.

janjunjon commented 2 years ago
janjunjon commented 2 years ago

grads error

Data Request Error: Invalid grid coordinates
  World coordinates convert to non-integer  grid coordinates
    Variable = sp.2  Dimension = 3

detail

MSMsの地表面気圧を5kmに変換、その後同じスクリプトで参照するとエラー

sdfopen ../../data/p{}.nc
open ../converted/{}.ctl
janjunjon commented 2 years ago

python

summary

windspharmVectorWind.divergence()を使用して収束量計算

error1: windspharm.xarray.VectorWind

raise ValueError('equally-spaced latitudes are invalid '
ValueError: equally-spaced latitudes are invalid (they may be non-global)

latitudeが等間隔だとエラー

error2: windspharm.standard.VectorWind

ValueError: dimensions ('latitude', 'longitude') must have the same length as the number of data dimensions, ndim=3

latitude, longitudeの次元が違うようだが、変数含め、次元数の違いは確認できなかった。