IDL CDF Patch Download and Installation Instruction: IDL CDF patch consists of two files: shared CDF library and platform-independent Dynamically Loadable Module (DLM) definition file. Make sure to make the downloaded dynamic library (the .so file) for non-Windows executable on your machine. Please contact gsfc-cdf-support@lists.nasa.gov if you need a different CDF version. Windows: Download one of the following files: 32-bit CDF shared library at windows/x86/idl_cdf.dll and idl_cdf.lib or 64-bit CDF shared library at windows/x64/idl_cdf.dll and idl_cdf.lib Download DLM: idl_cdf.dlm Optionally, download the leap second table. Do this only if you're using a different leap second table from this release. Set the IDL_DLM_PATH and IDL_PATH environment variables to point to the directory where you placed the patch. For example, if you placed the patch in c:\idl_cdf391_patch, then the command should be set IDL_DLM_PATH="c:\idl_cdf391_patch;" set IDL_PATH="c:\idl_cdf391_patch;+" Note: The above commands must be entered exactly as shown, including angle brackets and double quotes, prior to invoking IDL. If the patch is checked out fine, you can use the downloaded files: idl_cdf.dlm and idl_cdf.dll to replace the ones in the operational directory at \bin\bin.x86 for 32-bit mode, or \bin\bin.x86_64 for 64-bit mode. Backup up the original files. If you have downloaded the leap second table, then set the environment variable CDF_LEAPSECONDSTABLE to the table. set CDF_LEAPSECONDSTABLE='\CDFLeapSeconds.txt' This table will be used, instead of the hard-coded one embedded in this released library. The step is necessary when the leap second table is different from the embedded one. Need to set the environment variable before running CDF modules under IDL. Invoke IDL and use it as usual. Mac OS X (Intel): Download the following CDF shared library file: 64-bit CDF shared library at macosX/x86_64/idl_cdf.so for 64-bit Intel Download DLM: idl_cdf.dlm Optionally, download the leap second table. Do this only if you're using a different leap second table from this release. Replace idl_cdf.so and idl_cdf.dlm in the /bin/bin.darwin.x86_64 directory for Intel on 64-bit mode Backup the original files. Set environment variable CDF_LEAPSECONDSTABLE to the downloaded leap second table. The step is necessary when a new leap second is added and the shared library is not upgraded. If you have downloaded the leap second table, then set the environment variable CDF_LEAPSECONDSTABLE to the table. setenv CDF_LEAPSECONDSTABLE '/CDFLeapSeconds.txt' This table will be used, instead of the hard-coded one embedded in this released library. The step is necessary when the leap second table is different from the embedded one. Need to set the environment variable before running CDF modules under IDL. Invoke IDL and use it as usual. Linux (Intel): Download one the following CDF shared library files: 32-bit CDF shared library at linux/linux32/idl_cdf.so for 32-bit Intel or 64-bit CDF shared library at linux/linux64/idl_cdf.so for 64-bit Intel Download DLM: idl_cdf.dlm Optionally, download the leap second table. Do this only if you're using a different leap second table from this release. Set the IDL_DLM_PATH and IDL_PATH environment variables to point to the directory where you placed the patch. For example, if you placed the patch in /home/harold, then the commands should be setenv IDL_DLM_PATH "/home/harold:" (for tcsh shell) export IDL_DLM_PATH="/home/harold:" (for bash shell) setenv IDL_PATH "/home/harold:+" (for tcsh shell) export IDL_PATH="/home/harold:+" (for bash shell) Note: The above commands must be entered exactly as shown, including angle brackets and double quotes, prior to invoking IDL. If the patch is checked out fine, you can use the downloaded files to replace the ones in the operational directory (may need the root access) at /bin/bin.linux.x86 for 32-bit mode, or /bin/bin.linux.x86_64 for 64-bit mode. Backup the original files. If you have downloaded the leap second table, then set the environment variable CDF_LEAPSECONDSTABLE to the table. setenv CDF_LEAPSECONDSTABLE '/CDFLeapSeconds.txt' This table will be used, instead of the hard-coded one embedded in this released library. The step is necessary when the leap second table is different from the embedded one. Need to set the environment variable before running CDF modules under IDL. Invoke IDL and use it as usual. If you have questions, need assistance, or encounter problems, please contact us at NASA-CDF-Support@nasa.onmicrosoft.com.