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

wrf falling back on default urban morphology instead of using cglc-modis-lcz-100m dataset #129

Closed
Liz490 opened this issue Mar 26, 2024 · 1 comment

Comments

@Liz490
Copy link

Liz490 commented Mar 26, 2024

Describe your issue

Dear @matthiasdemuzere !

I am stuck running WRF urban using the cglc-modis-lcz_100m dataset for Germany using three one-way nested domains at 12, 3, and 1 km, respectively. I'm considering the sf_urban_physics = 2 and the hybrid 100-m global land cover dataset with Local Climate Zones. To use this dataset, I followed the instructions provided here .

Geogrid.exe, ungrib.exe, and metgrid.exe work fine, so does real.exe.
However, when I run wrf.exe, I get suspicious warnings in the rsl.error.0000 claiming that WRF does not use the LCZ data:

WARNING, FRC_URB2D = 0 BUT IVGTYP IS URBAN
WARNING, THE URBAN FRACTION WILL BE READ FROM URBPARM.TBL
USING DEFAULT URBAN MORPHOLOGY

I attached the namlist.wps, namlist.input and the rsl.error.0000 file.

I am using WRF 4.5.2 and WPS 4.5 and ensured that for both of them I am using official releases as you suggested in this post.
namelist_bochum.wps.txt

I also already followed the instructions as suggested in this WRF&MPAS-Aforums post .

Can you help finding out what is the issue?
Thank you very much for your help!

namelist_bochum.wps.txt
namelist_bochum.input.txt
rsl.error.0000.txt

w2w --version

w2w 0.5.0

nc-config --all

This netCDF 4.7.2 has been built with the following features: 

  --cc            -> gcc
  --cflags        -> -I/Build_WRF/LIBRARIES/netcdf/include -I/Build_WRF/LIBRARIES/grib2/include -I/Build_WRF/LIBRARIES/netcdf/include
  --libs          -> -L/Build_WRF/LIBRARIES/netcdf/lib -L/Build_WRF/LIBRARIES/grib2/lib -L/Build_WRF/LIBRARIES/netcdf/lib -lnetcdf -lm 
  --static        -> -lm 

  --has-c++       -> no
  --cxx           -> 

  --has-c++4      -> no
  --cxx4          -> 

  --has-fortran   -> yes
  --fc            -> gfortran
  --fflags        -> -I/Build_WRF/LIBRARIES/netcdf/include
  --flibs         -> -L/Build_WRF/LIBRARIES/netcdf/lib -lnetcdff -L/Build_WRF/LIBRARIES/grib2/lib -L/Build_WRF/LIBRARIES/netcdf/lib -lnetcdf -lnetcdf -ldl -lm
  --has-f90       -> 
  --has-f03       -> yes

  --has-dap       -> no
  --has-dap2      -> no
  --has-dap4      -> no
  --has-nc2       -> yes
  --has-nc4       -> no
  --has-hdf5      -> no
  --has-hdf4      -> no
  --has-logging   -> no
  --has-pnetcdf   -> no
  --has-szlib     -> 
  --has-cdf5      -> yes
  --has-parallel4 -> no
  --has-parallel  -> no

  --prefix        -> /Build_WRF/LIBRARIES/netcdf
  --includedir    -> /Build_WRF/LIBRARIES/netcdf/include
  --libdir        -> /Build_WRF/LIBRARIES/netcdf/lib
  --version       -> netCDF 4.7.2

Installed Packages

adlfs==2024.2.0
affine==2.4.0
aiobotocore==2.11.2
aiohttp==3.9.3
aiohttp-cors==0.7.0
aiohttp-retry==2.8.3
aioitertools==0.11.0
aiooss2==0.2.9
aiosignal==1.3.1
aliyun-python-sdk-core==2.14.0
aliyun-python-sdk-kms==2.16.2
altair==5.2.0
amqp==5.2.0
annotated-types==0.6.0
antlr4-python3-runtime==4.9.3
anyio==4.2.0
appdirs==1.4.4
argcomplete==3.2.2
asttokens==2.4.1
async-timeout==4.0.3
asyncssh==2.14.2
atpublic==4.0
attrs==23.2.0
azure-core==1.30.0
azure-datalake-store==0.0.53
azure-identity==1.15.0
azure-storage-blob==12.19.0
bcrypt==4.1.2
beautifulsoup4==4.8.0
billiard==4.2.0
blinker==1.7.0
boto3==1.34.34
botocore==1.34.34
bqplot==0.12.43
branca==0.7.1
cachetools==5.3.3
Cartopy==0.22.0
cattrs==23.2.3
celery==5.3.6
certifi==2024.2.2
cffi==1.16.0
cftime==1.6.3
charset-normalizer==3.3.2
click==8.1.7
click-didyoumean==0.3.0
click-plugins==1.1.1
click-repl==0.3.0
cligj==0.7.2
colorama==0.4.6
colorclass==2.2.2
colorlog==6.8.2
colour==0.1.5
comm==0.2.1
configobj==5.0.8
contourpy==1.2.0
crcmod==1.7
croniter==2.0.1
cryptography==42.0.3
cycler==0.12.1
decorator==5.1.1
dictdiffer==0.9.0
diskcache==5.6.3
distro==1.9.0
dpath==2.1.6
duckdb==0.10.0
dulwich==0.21.7
dvc==3.45.0
dvc-azure==3.1.0
dvc-data==3.13.0
dvc-gdrive==3.0.1
dvc-gs==3.0.1
dvc-hdfs==3.0.0
dvc-http==2.32.0
dvc-objects==5.0.0
dvc-oss==3.0.0
dvc-render==1.0.1
dvc-s3==3.0.1
dvc-ssh==4.0.0
dvc-studio-client==0.20.0
dvc-task==0.3.0
dvc-webdav==3.0.0
dvc-webhdfs==3.1.0
ecmwflibs==0.5.0
entrypoints==0.4
eppy==0.5.63
exceptiongroup==1.2.0
executing==2.0.1
extra-streamlit-components==0.1.71
faust==1.10.4
filelock==3.13.1
findlibs==0.0.5
flatbuffers==23.5.26
flatten-dict==0.4.2
flufl.lock==7.1.1
folium==0.15.1
fonttools==4.49.0
frozenlist==1.4.1
fsspec==2024.2.0
funcy==2.0
future==1.0.0
gcloud==0.18.3
gcsfs==2024.2.0
gdown==5.1.0
geojson==3.1.0
gitdb==4.0.11
GitPython==3.1.42
google-api-core==2.17.1
google-api-python-client==2.118.0
google-auth==2.28.0
google-auth-httplib2==0.2.0
google-auth-oauthlib==1.2.0
google-cloud-core==2.4.1
google-cloud-storage==2.14.0
google-crc32c==1.5.0
google-resumable-media==2.7.0
googleapis-common-protos==1.62.0
grandalf==0.8
greenlet==3.0.3
gto==1.7.0
h11==0.14.0
h5netcdf==1.3.0
h5py==3.10.0
httpcore==1.0.3
httplib2==0.22.0
httpx==0.26.0
hydra-core==1.3.2
idna==3.6
importlib-metadata==7.0.1
importlib_resources==6.1.2
iniconfig==2.0.0
ipyevents==2.0.2
ipyfilechooser==0.6.0
ipyleaflet==0.18.2
ipython==8.18.1
ipytree==0.2.2
ipywidgets==8.1.2
isodate==0.6.1
iterative-telemetry==0.0.8
jedi==0.19.1
Jinja2==3.1.3
jmespath==0.10.0
joblib==1.3.2
jsonschema==4.21.1
jsonschema-specifications==2023.12.1
jupyterlab_widgets==3.0.10
kafka-python==1.4.7
kiwisolver==1.4.5
knack==0.11.0
kombu==5.3.5
leafmap==0.31.3
lxml==5.1.0
markdown-it-py==3.0.0
MarkupSafe==2.1.5
matplotlib==3.8.3
matplotlib-inline==0.1.6
mdurl==0.1.2
mode==4.3.2
msal==1.26.0
msal-extensions==1.1.0
multidict==6.0.5
munch==4.0.0
mypy-extensions==1.0.0
netCDF4==1.6.5
networkx==3.2.1
numpy==1.26.4
oauth2client==4.1.3
oauthlib==3.2.2
omegaconf==2.3.0
openmeteo_requests==1.2.0
openmeteo_sdk==1.10.0
opentracing==1.3.0
orjson==3.9.14
oss2==2.18.1
ossfs==2023.12.0
packaging @ file:///home/conda/feedstock_root/build_artifacts/packaging_1696202382185/work
pandas==2.2.0
parso==0.8.3
pathspec==0.12.1
pexpect==4.9.0
pillow==10.2.0
platformdirs==3.1.1
plotly==5.19.0
pluggy==1.4.0
polyscope==2.1.0
portalocker==2.8.2
prompt-toolkit==3.0.43
protobuf==4.25.3
psutil==5.9.8
ptyprocess==0.7.0
pure-eval==0.2.2
pyarrow==15.0.0
pyasn1==0.5.1
pyasn1-modules==0.3.0
pycparser==2.21
pycryptodome==3.20.0
pydantic==2.6.1
pydantic_core==2.16.2
pydeck==0.8.1b0
pydot==2.0.0
pydot3k==1.0.17
PyDrive2==1.19.0
pygit2==1.14.1
Pygments==2.17.2
pygtrie==2.5.0
PyJWT==2.8.0
pyOpenSSL==24.0.0
pyparsing==3.1.1
pyproj==3.6.1
pyshp==2.3.1
PySocks==1.7.1
pystac==1.9.0
pystac-client==0.7.6
pytest==8.0.2
python-box==7.1.1
python-dateutil @ file:///home/conda/feedstock_root/build_artifacts/python-dateutil_1626286286081/work
pytz @ file:///home/conda/feedstock_root/build_artifacts/pytz_1706886791323/work
PyYAML==6.0.1
rasterio==1.3.9
referencing==0.33.0
requests==2.31.0
requests-cache==1.2.0
requests-oauthlib==1.3.1
retry-requests==2.0.0
rich==13.7.0
rioxarray==0.15.0
robinhood-aiokafka==1.1.6
rpds-py==0.18.0
rsa==4.9
ruamel.yaml==0.18.6
ruamel.yaml.clib==0.2.8
s3fs==2024.2.0
s3transfer==0.10.0
schedule==1.2.1
scikit-learn==1.4.1.post1
scipy==1.12.0
scmrepo==3.1.0
scooby==0.9.2
seaborn==0.13.2
semver==3.0.2
shapely==2.0.3
shortuuid==1.0.11
shtab==1.6.5
six @ file:///home/conda/feedstock_root/build_artifacts/six_1620240208055/work
slack_sdk==3.27.1
smmap==5.0.1
sniffio==1.3.0
snuggs==1.4.7
soupsieve==2.5
SQLAlchemy==2.0.27
SQLAlchemy-Utils==0.41.1
sqltrie==0.11.0
sshfs==2023.10.0
stack-data==0.6.3
streamlit==1.31.1
streamlit-authenticator==0.3.1
tabulate==0.9.0
tenacity==8.2.3
termcolor==2.4.0
terminaltables==3.1.10
threadpoolctl==3.3.0
tinynumpy==1.2.1
toml==0.10.2
tomli==2.0.1
tomlkit==0.12.3
toolz==0.12.1
tornado==6.4
tqdm==4.66.2
traitlets==5.14.1
traittypes==0.2.1
trimesh==4.1.6
typer==0.9.0
typing_extensions==4.10.0
tzdata==2024.1
tzlocal==5.2
uritemplate==4.1.1
url-normalize==1.4.3
urllib3==1.26.18
validators==0.22.0
venusian==1.2.0
vine==5.1.0
voluptuous==0.14.2
w2w @ git+https://github.com/matthiasdemuzere/w2w@84f7d802f8ba9b6992560cd7dbd6a503b58117b0
watchdog==4.0.0
wcwidth==0.2.13
webdav4==0.9.8
whitebox==2.3.1
whiteboxgui==2.3.0
widgetsnbextension==4.0.10
wrapt @ file:///Users/runner/miniforge3/conda-bld/wrapt_1699533125155/work
wrf-python==1.3.4.1
xarray @ file:///home/conda/feedstock_root/build_artifacts/xarray_1708349138545/work
xyzservices==2023.10.1
yarl==1.9.4
zc.lockfile==3.0.post1
zipp==3.17.0

Traceback

No response

@dargueso
Copy link
Collaborator

Hi, yes, we're making adjustments to use w2w with v4.5.2 and clgc-modis-lcz. We are currently working on this here #127.
The latest changes should fix this. In the meantime, you may want to use that branch for your purposes.

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

3 participants