Comments (4)
After looking at this more closely, the algorithm works by searching for an optical depth greater than 1.0 for each vertical column in the domain. If the search finds no optical depth (clear sky), then the surface temperature is returned for that column.
I think we can simply add a flag to indicate that the user wants missing/fill values to be returned for these areas instead of surface temperature, but keep the default the same so that backwards compatibility is retained.
The line of code that will need to be modified is:
ELSE IF (opdepthd .LT. 1. .AND. k .EQ. nz) THEN
prsctt = prs(i,j,1)
EXIT
Change this to insert a missing value, then later check if it's missing and skip the interpolation for temperature.
from wrf-python.
The OpenMP directive issue will be fixed in 1.1.2. The option to add fill values for no-cloud areas will be released later.
from wrf-python.
There is an indexing bug here:
prsctt = pf(i,j,k-1) + fac*(pf(i,j,k) - pf(i,j,k-1))
There is nothing preventing k from being 1, which is causing Windows to crash, and this is a ticking time bomb for Linux and Mac.
from wrf-python.
Also, the computation is not correctly integrating from top to bottom when using WRF files that do not contain cloud ice mixing ratio.
from wrf-python.
Related Issues (20)
- Limit to older versions of Python until testing catches up and we can address known issues
- WRF-Python: Plotting variables with different pressure levels and Time
- Add Python 3.11 tests
- naturalearth download
- save slp to netcdf HOT 4
- Error using "pip install wrf-python" HOT 2
- numpy.distutils is removed in python 3.12
- Calculation WRF=4.5.1 HOT 4
- Problem with wrf.interplevel desiredlev input
- Wrong SLP gathered by getvar HOT 5
- ImportError -> from wrf import getvar HOT 3
- PyPI trusted publishing
- WRF-python post-processing wind speed issues HOT 6
- Getvar Returned Large SLP Values Occasionally HOT 1
- Wrf-python package "uvmet10_wspd_wdir"
- wrf.interplevel and wrf.vinterp results in very high values for vertical temperature gradients
- WRF-Python Install - Mac M3 HOT 8
- error when install wrf-python HOT 2
- getvar returns ['GSW' is not a valid variable name]; extract_vars returns [got multiple values for argument 'timeidx'] HOT 3
- Error heppend during the conda install HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wrf-python.