UserWarning: Valid PROJ data directory not found #1351
Closed
DOptimusPrime
started this conversation in
General
Replies: 1 comment
-
Closing in favor of the issue: #1350 In the future, please only file an issue or a discussion for a particular topic. Thanks. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
C:\Users\hdela.conda\envs\chur2\lib\site-packages\pyproj_init_.py:91: UserWarning: Valid PROJ data directory not found. Either set the path using the environmental variable PROJ_LIB or with pyproj.datadir.set_data_dir.
warnings.warn(str(err))
Traceback (most recent call last):
File "D:\Chur\Engine\main.py", line 1676, in
main(sys.argv[1:])
File "D:\Chur\Engine\main.py", line 606, in main
engine.precipitationSimulator.initialize()
File "D:\Chur\Engine\Models\Precipitation\precipitation.py", line 46, in initialize
self.generator.initialize()
File "D:\Chur\Engine\Models\Precipitation\precipitation.py", line 154, in initialize
self.fh = Dataset(self.ncfile, mode='r')
File "src\netCDF4_netCDF4.pyx", line 2353, in netCDF4._netCDF4.Dataset.init
File "src\netCDF4_netCDF4.pyx", line 1963, in netCDF4._netCDF4._ensure_nc_success
FileNotFoundError: [Errno 2] No such file or directory: b'C:/Users/dhoussou/chur/Chur/Engine/Data/SourceData/precipitation/MeteoSwiss/RdisaggH_ch01r.swisscors_200703010100_200704010000.nc'
Traceback (most recent call last):
File "D:\Chur\Engine\main.py", line 1676, in
main(sys.argv[1:])
File "D:\Chur\Engine\main.py", line 606, in main
engine.precipitationSimulator.initialize()
File "D:\Chur\Engine\Models\Precipitation\precipitation.py", line 46, in initialize
self.generator.initialize()
File "D:\Chur\Engine\Models\Precipitation\precipitation.py", line 154, in initialize
self.fh = Dataset(self.ncfile, mode='r')
File "src\netCDF4_netCDF4.pyx", line 2353, in netCDF4._netCDF4.Dataset.init
File "src\netCDF4_netCDF4.pyx", line 1963, in netCDF4._netCDF4._ensure_nc_success
FileNotFoundError: [Errno 2] No such file or directory: b'C:/Users/dhoussou/chur/Chur/Engine/Data/SourceData/precipitation/MeteoSwiss/RdisaggH_ch01r.swisscors_200710010100_200711010000.nc'
D:/Chur/Manager/precipitation_definitions/f563a296-bc30-4474-ac18-7f272fd58e14
2023-10-15 23:44:33-- engine: creating output directories at D:/Chur/Engine/Data/SimulationData//Precipitation/f563a296-bc30-4474-ac18-7f272fd58e14/ --
D:/Chur/Manager/precipitation_definitions/54ac8997-efe7-4877-922c-f10e68f4dc84
2023-10-15 23:44:33-- engine: creating output directories at D:/Chur/Engine/Data/SimulationData//Precipitation/54ac8997-efe7-4877-922c-f10e68f4dc84/ --
executed 2 processes
Process finished with exit code 0
My environment variables:
C:\Users\hdela.conda\envs\chur2\Lib\site-packages\pyproj
C:\Users\hdela.conda\envs\chur2\Library\share\proj
Beta Was this translation helpful? Give feedback.
All reactions