Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

how to subset landuse in Africa with subset_data tools

xiaoxiaokuishu

Ru Xu
Member
Hi, all,

I use subset_data region tools to subset global landusedata in Africa, at first I set lon range from -15 to 45,
the error appears:
RuntimeError: NetCDF: NC_UNLIMITED in the wrong index: (variable 'xc', group '/')

when I set lon range from 345 (-15+360 )to 45, still the same error appears, it seems this tools did not
accept negative lon values, and from large to small value....

do you have any idea of how to subset the lon across zero degree meridian.

./subset_data region --create-surface --crop --create-domain --create-landuse --lat1 -20 --lat2 20 --lon1 345 --lon2 45


Best
Ru
 
Top