Assistance Required: Issues with CDO Installation and Usage on Windows 10
Added by Danish Monga 17 days ago
Dear CDO Support Team,
I am seeking assistance with installing and utilizing the Climate Data Operators (CDO) on my Windows 10 system. Despite following various approaches, I have encountered persistent issues.
System Details:
Operating System: Windows 10
CDO Version Attempted: 2.4.0
Installation Methods Tried:
Cygwin: Installed CDO via Cygwin; however, encountered system errors when executing CDO commands.
Windows Subsystem for Linux (WSL): Installed Ubuntu on WSL, followed by CDO installation. While CDO commands execute without errors in the WSL environment, integrating CDO with Python scripts in the Windows environment remains problematic.
Issues Encountered:
Cygwin Installation: Post-installation, executing cdo -V results in system errors, preventing further use.
WSL Installation: Although CDO functions within the WSL environment, invoking CDO through Python scripts in Windows leads to errors, particularly when using the cdo Python package. The error encountered is:
csharp
Copy code
AttributeError: 'NoneType' object has no attribute 'group'
Objective: My goal is to perform nearest-neighbor remapping using CDO's remapnn function within Python scripts on Windows. I have installed the cdo Python package but face challenges in configuring it to recognize the CDO executable.
Request: Could you provide guidance on the following:
Recommended method for installing CDO on Windows 10 to ensure compatibility with Python scripts.
Steps to configure the cdo Python package to interface correctly with the CDO executable.
Any additional dependencies or configurations required for seamless integration.
I appreciate your assistance in resolving these issues.
Replies (1)
RE: Assistance Required: Issues with CDO Installation and Usage on Windows 10 - Added by Estanislao Gavilan 17 days ago
Hi Danish,
I am afraid cdo does not work in windows. Cygwin was abandoned because it was very problematic. You can find older version of cdo that work with cigwin but I do not recomend it. You can only run python with cdo under linux environment with wsl or virtual machine.
Best regards
Estanislao