ccplot-general Mailing List for ccplot (Page 2)
CloudSat and CALIPSO plotting tool
Brought to you by:
peterkuma
You can subscribe to this list here.
2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
(9) |
Sep
|
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2011 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(3) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(5) |
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(15) |
Dec
|
2014 |
Jan
(1) |
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
(3) |
2015 |
Jan
(3) |
Feb
(3) |
Mar
(3) |
Apr
(3) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(4) |
Nov
|
Dec
|
2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
2017 |
Jan
(1) |
Feb
(3) |
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(5) |
Dec
(1) |
2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
(1) |
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
2021 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
(2) |
Jun
|
Jul
(3) |
Aug
(1) |
Sep
(1) |
Oct
|
Nov
|
Dec
|
2023 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Peter K. <pet...@fa...> - 2017-02-12 09:51:40
|
On 11/02/17 04:21, ZHANG Xiao wrote: > Dear sir: > > I tried to install ccplot on windows7. I have installed the Anaconda > 32-bit (Python 2.7 version) <https://www.continuum.io/downloads> and the > basemap successfully. But when I installed ccplot with the windows > installer, it showd python2.7 cloudn't be found. I have checked the > Python2.7 runs well. Cloud you point out the possible problem? > > best withes > > -- > Zhang Dear Zhang, I am not sure what the problem might be. Are you sure you have downloaded the correct version of Anaconda? It should be the following: https://repo.continuum.io/archive/Anaconda2-4.3.0.1-Windows-x86.exe I have tried uninstalling Anaconda on my Windows and installing the latest version above, and the ccplot installer did work for me, although that was on Windows 10. During the installation I selected "Install for: Just Me", "Add Anaconda to my PATH environment variable" and "Register Anaconda as my default Python 2.7". Do you have a computer with Windows 10 where you could try the installation? Regards, Peter |
From: ZHANG X. <zha...@la...> - 2017-02-10 15:41:11
|
Dear sir: I tried to install ccplot on windows7. I have installed the Anaconda 32-bit (Python 2.7 version) and the basemap successfully. But when I installed ccplot with the windows installer, it showd python2.7 cloudn't be found. I have checked the Python2.7 runs well. Cloud you point out the possible problem? best withes -- Zhang |
From: Peter K. <pet...@fa...> - 2017-01-07 09:47:28
|
Hi Piyushkumar, Sorry for the late response. It seems that python(x,y) is no longer actively maintained, and Anaconda is now a better choice for a Python distribution on Windows. I suggest you install 32-bit Anaconda (Python 2.7 version): https://www.continuum.io/downloads (64-bit Anaconda is not compatible with ccplot, and 32-bit Anaconda works on 64-bit Windows just fine.) After that, install basemap in the Windows Command Prompt: conda install basemap Finally, install ccplot using the Windows installer provided on the ccplot.org website. You should be able to run ccplot in the Command Prompt: ccplot -V Let me know if you still have any problems with the installation. Best regards, Peter On 29/12/16 07:05, Piyushkumar Patel wrote: > Dear sir, > > I am a new user of CALIPSO and CloudSat data sets. > I come across to ccplot software, which I am trying to install on > windows 64-bit machine, but it unable to detect python 2.7 path. Though > python 2.7 is already installed on my machine. Even I am not able to > write a path of python installation directory when it asked to write. > > please help me to install ccplot on a 64-bit windows machine. > > > > With Regards, > /+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++/ > *Piyushkumar Patel* > /Calibration Validation Division (CVD),/ > /Earth, Atmospheric, Oceanic and Planetary Sciences Area (EPSA) ,/ > /Space Applications Centre (SAC),/ > /Indian Space Research Organization (ISRO),/ > /Ahmedabad-380 015, Gujarat, India/ > /Tel : +91-079-26914376/ > /+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++/ |
From: Piyushkumar P. <piy...@gm...> - 2016-12-28 18:05:21
|
Dear sir, I am a new user of CALIPSO and CloudSat data sets. I come across to ccplot software, which I am trying to install on windows 64-bit machine, but it unable to detect python 2.7 path. Though python 2.7 is already installed on my machine. Even I am not able to write a path of python installation directory when it asked to write. please help me to install ccplot on a 64-bit windows machine. With Regards, *+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++* *Piyushkumar Patel* *Calibration Validation Division (CVD),* *Earth, Atmospheric, Oceanic and Planetary Sciences Area (EPSA) ,* *Space Applications Centre (SAC),* *Indian Space Research Organization (ISRO),* *Ahmedabad-380 015, Gujarat, India* *Tel : +91-079-26914376* *+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++* |
From: Grant M. <gme...@gm...> - 2015-10-15 14:13:39
|
it looks like the package *libhdf4-dev* is not being found. Can you paste where the installation of this is? Head over to the terminal and type *dpkg -L libhdf4-dev* If the package is not installed, install it and attempt to run again. However there is a possibility you have the package installed, but the setup.py list is not exhaustive and won't find it. In that case if you email back where the package files are located I can help you point setup.py to that location. On Thu, Oct 15, 2015 at 1:18 AM <jor...@cp...> wrote: > > > Hi, > > > I'm trying to install tje CCPLOT. I did: > > python setup.py build > > > > then I had: > > > running build > running build_py > running build_ext > skipping 'ccplot/hdf.c' Cython extension (up-to-date) > building 'ccplot.hdf' extension > gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall > -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions > -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches > -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe > -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions > -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches > -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/hdf > -I/usr/local/include/hdf -I/usr/include/x86_64-linux-gnu/hdf > -I/opt/local/include > -I/usr/lib64/python2.7/site-packages/numpy/core/include > -I/usr/include/python2.7 -c ccplot/hdf.c -o > build/temp.linux-x86_64-2.7/ccplot/hdf.o > In file included from > > /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1761:0, > from > > /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, > from > > /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, > from ccplot/hdf.c:242: > > /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: > warning: #warning "Using deprecated NumPy API, disable it by " > "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] > #warning "Using deprecated NumPy API, disable it by " \ > ^ > ccplot/hdf.c:245:21: fatal error: hntdefs.h: Arquivo ou diretório não > encontrado > #include "hntdefs.h" > ^ > compilation terminated. > error: command 'gcc' failed with exit status 1 > > > Please what can I do to solve this error. > > > Thanks in advance, > > > Conrado > > > ------------------------------------------------------------------------------ > _______________________________________________ > ccplot-general mailing list > ccp...@li... > https://lists.sourceforge.net/lists/listinfo/ccplot-general > |
From: Peter K. <pet...@wa...> - 2015-10-15 09:03:06
|
On 10/14/2015 05:11 PM, jor...@cp... wrote: > Hi, > > > I'm trying to install tje CCPLOT. I did: > > python setup.py build > > > > then I had: > > > running build > running build_py > running build_ext > skipping 'ccplot/hdf.c' Cython extension (up-to-date) > building 'ccplot.hdf' extension > gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall > -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions > -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches > -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe > -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions > -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches > -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/hdf > -I/usr/local/include/hdf -I/usr/include/x86_64-linux-gnu/hdf > -I/opt/local/include > -I/usr/lib64/python2.7/site-packages/numpy/core/include > -I/usr/include/python2.7 -c ccplot/hdf.c -o > build/temp.linux-x86_64-2.7/ccplot/hdf.o > In file included from > /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1761:0, > from > /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, > from > /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, > from ccplot/hdf.c:242: > /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: > warning: #warning "Using deprecated NumPy API, disable it by " > "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] > #warning "Using deprecated NumPy API, disable it by " \ > ^ > ccplot/hdf.c:245:21: fatal error: hntdefs.h: Arquivo ou diretório não > encontrado > #include "hntdefs.h" > ^ > compilation terminated. > error: command 'gcc' failed with exit status 1 > > > Please what can I do to solve this error. > > > Thanks in advance, > > > Conrado Hi Conrado, The missing `hntdefs.h` file is from the libhdf4 library. Can you make sure it is installed on your system? What operating system are you using? Peter |
From: <jor...@cp...> - 2015-10-14 16:28:54
|
Hi, I'm trying to install tje CCPLOT. I did: python setup.py build then I had: running build running build_py running build_ext skipping 'ccplot/hdf.c' Cython extension (up-to-date) building 'ccplot.hdf' extension gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/hdf -I/usr/local/include/hdf -I/usr/include/x86_64-linux-gnu/hdf -I/opt/local/include -I/usr/lib64/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c ccplot/hdf.c -o build/temp.linux-x86_64-2.7/ccplot/hdf.o In file included from /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1761:0, from /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, from ccplot/hdf.c:242: /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^ ccplot/hdf.c:245:21: fatal error: hntdefs.h: Arquivo ou diretório não encontrado #include "hntdefs.h" ^ compilation terminated. error: command 'gcc' failed with exit status 1 Please what can I do to solve this error. Thanks in advance, Conrado |
From: Grant M. <gme...@gm...> - 2015-10-01 17:21:31
|
For the error you're receiving on windows, it looks like you first need to install wheel <https://pypi.python.org/pypi/wheel>. Can you also reply with the version of python you are using? you can check your version with *python -v . *The version is important as ccplot does not support support python 3.x and later versions. I'm taking a guess it's the version of python being used causing the error because of this line in the output: ccplot\hdf.pyx:272:31: Comparisons between bytes/unicode and str are not portable to Python 3 seem's you're attempting to use Python 3 to build a python 2.7 and below library. -------------------------------------------------------- As for linux, it looks like the package *libhdf4-dev* is not being found. Can you paste where the installation of this is? Head over to the terminal and type *dpkg -L libhdf4-dev* If the package is not installed, install it and attempt to run again. However there is a possibility you have the package installed, but the setup.py list is not exhaustive and won't find it. In that case if you post where the package files are located I can help you point setup.py to that location. Grant Mercer On Thu, Oct 1, 2015 at 2:06 AM Raghavendra S. Mupparthy <rag...@gm...> wrote: > Hi there! > > I am having some trouble installing ccplot on our HPC (os is linux) > and on my windows7 laptop too (I have conda python). > When I try pip install ccplot.. I have the following error (attached > as txt files..).. > Could you tell me how to get ccplot installed.. I would be happy if I > can get it installed on either of the machines.. > > Regards > Raghu > > -- > M. N. Raghavendra Sreevathsa > Scientist D > National Centre for Medium Range Weather Forecasting (NCMRWF) > Earth System Science Organization > Ministry of Earth Sciences, Govt. of India > A-50, Institutional Area > Sector 62, Noida - UP 201309 > ... > E: mnr...@ni..., ra...@nc... > W: +91-120-241-9419 (Ext: 419) > F: +91-120-241-9494 > M: +91-95603-68265 > U: http://www.ncmrwf.gov.in > -- > > ------------------------------------------------------------------------------ > _______________________________________________ > ccplot-general mailing list > ccp...@li... > https://lists.sourceforge.net/lists/listinfo/ccplot-general > |
From: Raghavendra S. M. <rag...@gm...> - 2015-09-30 14:52:59
|
Hi there! I am having some trouble installing ccplot on our HPC (os is linux) and on my windows7 laptop too (I have conda python). When I try pip install ccplot.. I have the following error (attached as txt files..).. Could you tell me how to get ccplot installed.. I would be happy if I can get it installed on either of the machines.. Regards Raghu -- M. N. Raghavendra Sreevathsa Scientist D National Centre for Medium Range Weather Forecasting (NCMRWF) Earth System Science Organization Ministry of Earth Sciences, Govt. of India A-50, Institutional Area Sector 62, Noida - UP 201309 ... E: mnr...@ni..., ra...@nc... W: +91-120-241-9419 (Ext: 419) F: +91-120-241-9494 M: +91-95603-68265 U: http://www.ncmrwf.gov.in -- |
From: Grant M. <gme...@gm...> - 2015-05-30 21:54:03
|
Hi, I'm having difficulty building ccplot 1.5 on Ubuntu 14.04, the issue is parallel to this <https://sourceforge.net/p/ccplot/mailman/ccplot-general/thread/54E...@ip.../> thread, but I did not see any sort of resolution. I've doubled checked and triple checked all of my dependencies, and follow the instructions on the site to the tooth up until this line: python setup.py build that's when I'm given the output gdev@gdev-samsung:~/Downloads/ccplot-1.5$ python setup.py build running build running build_py creating build creating build/lib.linux-x86_64-2.7 creating build/lib.linux-x86_64-2.7/ccplot copying ccplot/__init__.py -> build/lib.linux-x86_64-2.7/ccplot copying ccplot/config.py -> build/lib.linux-x86_64-2.7/ccplot copying ccplot/utils.py -> build/lib.linux-x86_64-2.7/ccplot running build_ext building 'ccplot.cctk' extension creating build/temp.linux-x86_64-2.7 creating build/temp.linux-x86_64-2.7/ccplot x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/python2.7 -c ccplot/cctk.c -o build/temp.linux-x86_64-2.7/ccplot/cctk.o In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1761:0, from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4, from ccplot/cctk.c:31: /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^ x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/ccplot/cctk.o -o build/lib.linux-x86_64-2.7/ccplot/cctk.so cythoning ccplot/hdf.pyx to ccplot/hdf.c building 'ccplot.hdf' extension x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/hdf -I/usr/local/include/hdf -I/opt/local/include -I/usr/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/python2.7 -c ccplot/hdf.c -o build/temp.linux-x86_64-2.7/ccplot/hdf.o In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1761:0, from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4, from ccplot/hdf.c:352: /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^ In file included from ccplot/hdf.c:356:0: /usr/include/hdf/mfhdf.h:237:5: warning: function declaration isn’t a prototype [-Wstrict-prototypes] (); ^ In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:26:0, from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4, from ccplot/hdf.c:352: /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/__multiarray_api.h:1629:1: warning: ‘_import_array’ defined but not used [-Wunused-function] _import_array(void) ^ In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ufuncobject.h:327:0, from ccplot/hdf.c:353: /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/__ufunc_api.h:241:1: warning: ‘_import_umath’ defined but not used [-Wunused-function] _import_umath(void) ^ ccplot/hdf.c: In function ‘__pyx_pf_6ccplot_3hdf_3HDF_22_getinfo.isra.29’: ccplot/hdf.c:7441:6: warning: ‘__pyx_v_res’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (__pyx_t_15) { ^ x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/ccplot/hdf.o -L/opt/local/lib -lmfhdf -ldf -ljpeg -lz -o build/lib.linux-x86_64-2.7/ccplot/hdf.so cythoning ccplot/hdfeos.pyx to ccplot/hdfeos.c building 'ccplot.hdfeos' extension x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/hdf -I/usr/local/include/hdf -I/opt/local/include -I/usr/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/python2.7 -c ccplot/hdfeos.c -o build/temp.linux-x86_64-2.7/ccplot/hdfeos.o In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1761:0, from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4, from ccplot/hdfeos.c:352: /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^ ccplot/hdfeos.c:357:23: fatal error: HdfEosDef.h: No such file or directory #include "HdfEosDef.h" ^ compilation terminated. Any ideas on what could be going wrong? Thanks, |
From: Peter K. <pet...@wa...> - 2015-04-04 10:07:58
|
On 04/03/2015 01:30 PM, Andrew Prata wrote: > Hi, > > Thank you for creating such a wonderful piece of software and for > keeping all of the code open source! > > I’ve been trying to generate CALIOP profiles that best match the NASA > browse image accessible > here: http://www-calipso.larc.nasa.gov/products/lidar/browse_images/production/ > > ccplot has come the closest! However, as with my own script, there is a > lot of “noise” from ~ 0–8.2 km, that is not apparent in the NASA browse > images. > > Is there a way to overcome this? Have the NASA browse images had some > sort of smoothing or masking applied? If so, is there any documentation > on this? > > I’ve attached some figures to demonstrate the problem. While ccplot > does a good job representing large profiles, there is generally too much > noise to identify cloud/aerosol signals located within small latitude > ranges and at low altitudes (0–8.2 km). > > Kind Regards, > > Andrew > > > -- > Andrew Prata > > PhD Candidate > School of Earth, Atmosphere & Environment > 9 Rainforest Walk > Monash University, VIC 3800 > > Mobile: +61 414 873 225 > Office Number: 224 Hi Andrew, At the moment ccplot performs nearest-neighbor interpolation, which means every value displayed in the plot is an actual value from the data. The NASA browse images likely use some sort of averaging, but I'm not sure what the exact algorithm is. The ccplot API (http://ccplot.org/api/) provides a function ccplot.algorithms.interp2d_12 which does averaging when zooming out, and nearest-neighbor interpolation when zooming in. In my experience, the results of this interpolation are closer to the NASA produced images. I would like ccplot to switch to the new algorithm in future. Since you asked, I have done the modification in the latest revision, available from github: https://github.com/peterkuma/ccplot/archive/master.zip You can try it out, but I can't guarantee it gives good results in all situations, as I haven't done much testing. If you use Windows, I will prepare a build for you (the code from github needs to be compiled). Attached is a plot produced with the new algorithm. It is still not as clear as the original, though. Tuning the colormap might help a little. It was produced with the command: ccplot -o calipso532.png -d 80 -c calipso-backscatter.cmap -a 90 -x 4:09:13..4:22:42 -y ..30000 calipso532 CAL_LID_L1-ValStage1-V3-01.2007-06-12T03-42-18ZN.hdf Regards, Peter |
From: Andrew P. <and...@mo...> - 2015-04-03 11:33:06
|
Hi, Thank you for creating such a wonderful piece of software and for keeping all of the code open source! I’ve been trying to generate CALIOP profiles that best match the NASA browse image accessible here: http://www-calipso.larc.nasa.gov/products/lidar/browse_images/production/ <http://www-calipso.larc.nasa.gov/products/lidar/browse_images/production/> ccplot has come the closest! However, as with my own script, there is a lot of “noise” from ~ 0–8.2 km, that is not apparent in the NASA browse images. Is there a way to overcome this? Have the NASA browse images had some sort of smoothing or masking applied? If so, is there any documentation on this? I’ve attached some figures to demonstrate the problem. While ccplot does a good job representing large profiles, there is generally too much noise to identify cloud/aerosol signals located within small latitude ranges and at low altitudes (0–8.2 km). Kind Regards, Andrew -- Andrew Prata PhD Candidate School of Earth, Atmosphere & Environment 9 Rainforest Walk Monash University, VIC 3800 Mobile: +61 414 873 225 Office Number: 224 |
From: Peter K. <pet...@wa...> - 2015-03-21 13:59:14
|
On 02/26/2015 05:05 PM, Luka Ilic wrote: > Hello, > > I am having difficulties installing ccplot on ubuntu 14.04. > Can someone help with this? > > Thank you, > Luka > > Here is python setup.py build output: > > [...] > ccplot/hdfeos.c:357:23: fatal error: HdfEosDef.h: No such file or directory > #include "HdfEosDef.h" > ^ > compilation terminated. > error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 Dear Luka, Sorry I haven't replied to you sooner. The problem you describe is likely because of missing hdfeos library. Can you make sure the package is installed? Use this command to install all required packages: sudo apt-get install --no-install-recommends cython libhdf4-dev libhdfeos-dev python-imaging python-numpy python-matplotlib python-mpltoolkits.basemap ttf-bitstream-vera But I haven't tested with Ubuntu 14.04 specifically, so it might as well be a different problem. Regards, Peter |
From: Peter K. <pet...@wa...> - 2015-03-21 13:58:07
|
On 03/19/2015 05:42 PM, Cronk,Heather wrote: > Hi, > > I’m new to ccplot and am currently just trying to reproduce something > similar to the plots in the provided documentation. I have attached the > plot that is created from the following command: > > ccplot -o cloudsat2.pdf -x 0..1000 -c ../cmap/cloudsat-reflectivity.cmap > cloudsat-reflec > ../../../data/2013257190147_39272_CS_2B-GEOPROF_GRANULE_P_R04_E06.hdf > > As you can see, it seems to be cutting off the plot and only showing the > colorbar and part of the title. Do I need to adjust the aspect ratio or > something else to see the whole plot? > > Thanks, > > Heather > > *Heather Q. Cronk* > > Research Associate II > > Cooperative Institute for Research in the Atmosphere (CIRA) > > Colorado State University > > 970-491-8575 Hi Heather, Sorry this was a bug in ccplot. If the vertical extent was not specified explicitly by -y, nothing would be plotted. It has been reported to me recently, but I fixed it just now. Please use the new release ccplot 1.5, which is now available on the ccplot web site. Also fixed is a problem with colormap search path on Windows, so using "-c cloudsat-reflectivity.cmap" should be enough. I hope there won't be any more issues, but please let me know if encounter any. Regards, Peter |
From: Cronk,Heather <Hea...@co...> - 2015-03-19 17:40:11
|
Hi, I'm new to ccplot and am currently just trying to reproduce something similar to the plots in the provided documentation. I have attached the plot that is created from the following command: ccplot -o cloudsat2.pdf -x 0..1000 -c ../cmap/cloudsat-reflectivity.cmap cloudsat-reflec ../../../data/2013257190147_39272_CS_2B-GEOPROF_GRANULE_P_R04_E06.hdf As you can see, it seems to be cutting off the plot and only showing the colorbar and part of the title. Do I need to adjust the aspect ratio or something else to see the whole plot? Thanks, Heather Heather Q. Cronk Research Associate II Cooperative Institute for Research in the Atmosphere (CIRA) Colorado State University 970-491-8575 |
From: Luka I. <lu...@ip...> - 2015-02-26 16:25:18
|
Hello, I am having difficulties installing ccplot on ubuntu 14.04. Can someone help with this? Thank you, Luka Here is python setup.py build output: running build running build_py creating build creating build/lib.linux-x86_64-2.7 creating build/lib.linux-x86_64-2.7/ccplot copying ccplot/utils.py -> build/lib.linux-x86_64-2.7/ccplot copying ccplot/__init__.py -> build/lib.linux-x86_64-2.7/ccplot copying ccplot/config.py -> build/lib.linux-x86_64-2.7/ccplot running build_ext building 'ccplot.cctk' extension creating build/temp.linux-x86_64-2.7 creating build/temp.linux-x86_64-2.7/ccplot x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/python2.7 -c ccplot/cctk.c -o build/temp.linux-x86_64-2.7/ccplot/cctk.o In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1761:0, from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4, from ccplot/cctk.c:31: /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^ x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/ccplot/cctk.o -o build/lib.linux-x86_64-2.7/ccplot/cctk.so cythoning ccplot/hdf.pyx to ccplot/hdf.c building 'ccplot.hdf' extension x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/hdf -I/usr/local/include/hdf -I/opt/local/include -I/usr/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/python2.7 -c ccplot/hdf.c -o build/temp.linux-x86_64-2.7/ccplot/hdf.o In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1761:0, from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4, from ccplot/hdf.c:352: /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^ In file included from ccplot/hdf.c:356:0: /usr/include/hdf/mfhdf.h:237:5: warning: function declaration isn’t a prototype [-Wstrict-prototypes] (); ^ In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:26:0, from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4, from ccplot/hdf.c:352: /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/__multiarray_api.h:1629:1: warning: ‘_import_array’ defined but not used [-Wunused-function] _import_array(void) ^ In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ufuncobject.h:327:0, from ccplot/hdf.c:353: /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/__ufunc_api.h:241:1: warning: ‘_import_umath’ defined but not used [-Wunused-function] _import_umath(void) ^ ccplot/hdf.c: In function ‘__pyx_pf_6ccplot_3hdf_3HDF_22_getinfo.isra.31’: ccplot/hdf.c:7453:6: warning: ‘__pyx_v_res’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (__pyx_t_15) { ^ x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/ccplot/hdf.o -L/opt/local/lib -lmfhdf -ldf -ljpeg -lz -o build/lib.linux-x86_64-2.7/ccplot/hdf.so cythoning ccplot/hdfeos.pyx to ccplot/hdfeos.c building 'ccplot.hdfeos' extension x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/hdf -I/usr/local/include/hdf -I/opt/local/include -I/usr/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/python2.7 -c ccplot/hdfeos.c -o build/temp.linux-x86_64-2.7/ccplot/hdfeos.o In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1761:0, from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4, from ccplot/hdfeos.c:352: /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^ ccplot/hdfeos.c:357:23: fatal error: HdfEosDef.h: No such file or directory #include "HdfEosDef.h" ^ compilation terminated. error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 |
From: Peter K. <pet...@wa...> - 2015-02-02 10:32:53
|
On 02/02/2015 01:07 AM, Trismono Candra Krisna wrote: > Dear Sir / Madam, > > I have problem when use ccplot. > For example when i used this code : > > */ ccplot -o cloudsat1.pdf -x 0..1000 cloudsat-reflec > F:\ACRIDICON\Satellite_image\CLOUDSAT\2014255170416_44557_CS_2B-GEOPROF_GRANULE_P_R04_E06.hdf/* > > and then error appeared : > > /* ValueErrror : cannot convert float NaN to integer.*/ > > Could you help me please? I mean explain how to solve this problem. > Thank you. > > > Best Regard, > > -- > ====================== > Trismono Candra Krisna > > University of Leipzig > Leipzig Institute for Meteorology (LIM) > Stephanstr. 3 / Room : 04 > 04103 Leipzig, Germany > > Phone: +49 176 3623 2903 > Fax: +49 341 97-32899 > Email: tri...@un... Dear Trismono, Thank you very much for reporting the problem. This is a bug in ccplot. When the vertical extent (-y) is not specified, nothing would be plotted. I fixed the problem in the latest revision on github, but please specify the -y option explicitly while I prepare a new Windows release. Regards, Peter |
From: Trismono C. K. <tri...@un...> - 2015-02-02 00:23:39
|
Dear Sir / Madam, I have problem when use ccplot. For example when i used this code : */ ccplot -o cloudsat1.pdf -x 0..1000 cloudsat-reflec F:\ACRIDICON\Satellite_image\CLOUDSAT\2014255170416_44557_CS_2B-GEOPROF_GRANULE_P_R04_E06.hdf/* and then error appeared : /* ValueErrror : cannot convert float NaN to integer.*/ Could you help me please? I mean explain how to solve this problem. Thank you. Best Regard, -- ====================== Trismono Candra Krisna University of Leipzig Leipzig Institute for Meteorology (LIM) Stephanstr. 3 / Room : 04 04103 Leipzig, Germany Phone: +49 176 3623 2903 Fax: +49 341 97-32899 Email: tri...@un... |
From: JinQing L. <liu...@12...> - 2015-01-05 08:25:46
|
Hi, I install ccplot successful in win7, but I got problems when I use it. H:\1>ccplot -o i.pdf -x 0..1000 cloudsat-reflec 2013136172936_37509_CS_2B-GEOPROF_GRANULE_P_R04_E06.hdf ====================================================================== C:\Python27\lib\site-packages\matplotlib\image.py:185: RuntimeWarning: invalid value encountered in double_scalars y0 = (viewlim.y0-ymin)/dyintv * numrows Traceback (most recent call last): File "C:\Python27\Scripts\/ccplot", line 2267, in <module> main(sys.argv) File "C:\Python27\Scripts\/ccplot", line 2259, in main try: plt.savefig(opts.outfname, dpi=opts.dpi) File "C:\Python27\lib\site-packages\matplotlib\pyplot.py", line 577, in savefig res = fig.savefig(*args, **kwargs) File "C:\Python27\lib\site-packages\matplotlib\figure.py", line 1470, in savefig self.canvas.print_figure(*args, **kwargs) File "C:\Python27\lib\site-packages\matplotlib\backend_bases.py", line 2194, in print_figure **kwargs) File "C:\Python27\lib\site-packages\matplotlib\backends\backend_pdf.py", line 2469, in print_pdf self.figure.draw(renderer) File "C:\Python27\lib\site-packages\matplotlib\artist.py", line 59, in draw_wr apper draw(artist, renderer, *args, **kwargs) File "C:\Python27\lib\site-packages\matplotlib\figure.py", line 1079, in draw func(*args) File "C:\Python27\lib\site-packages\matplotlib\artist.py", line 59, in draw_wrapper draw(artist, renderer, *args, **kwargs) File "C:\Python27\lib\site-packages\matplotlib\axes\_base.py", line 2092, in d raw a.draw(renderer) File "C:\Python27\lib\site-packages\matplotlib\artist.py", line 59, in draw_wrapper draw(artist, renderer, *args, **kwargs) File "C:\Python27\lib\site-packages\matplotlib\image.py", line 373, in draw im = self.make_image(renderer.get_image_magnification()) File "C:\Python27\lib\site-packages\matplotlib\image.py", line 597, in make_image transformed_viewLim) File "C:\Python27\lib\site-packages\matplotlib\image.py", line 186, in _get_unsampled_image iy0 = max(0, int(y0 - self._filterrad)) ValueError: cannot convert float NaN to integer ====================================================================== -- Jin-Qing Liu Engineering Trainee Hunan Meteorological Bureau, Hunan Meteorological Administration Fu-Rong South Road 169, Changsha P. R. China, 410118 -- |
From: Peter K. <pet...@wa...> - 2015-01-04 11:18:41
|
On 01/04/2015 01:52 AM, 刘金卿 wrote: > hi, my system is mac os mavericks,and I use > brew install python > brew install hdf4 > brew install numpy > pip install matplotlib > brew install matplotlib-basemap > install cython from source > but when I install ccplot, I got > ======================================================================== > running build > running build_py > running build_ext > cythoning ccplot/hdf.pyx to ccplot/hdf.c > > Error compiling Cython file: > ------------------------------------------------------------ > ... > cimport cython > ^ > ------------------------------------------------------------ > > ccplot/hdf.pyx:1:8: Compiler crash in AnalyseDeclarationsTransform > > File 'ModuleNode.py', line 103, in analyse_declarations: ModuleNode(hdf.pyx:1:0, > full_module_name = 'ccplot.hdf') > File 'Nodes.py', line 387, in analyse_declarations: StatListNode(hdf.pyx:1:0) > File 'Nodes.py', line 387, in analyse_declarations: StatListNode(hdf.pyx:1:8) > File 'Nodes.py', line 6929, in analyse_declarations: CImportStatNode(hdf.pyx:1:8, > module_name = u'cython') > > Compiler crash traceback from this point on: > File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython-0.21.2-py2.7-macosx-10.9-x86_64.egg/Cython/Compiler/Nodes.py", line 6929, in analyse_declarations > module_scope = env.find_module(self.module_name, self.pos) > File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython-0.21.2-py2.7-macosx-10.9-x86_64.egg/Cython/Compiler/Symtab.py", line 1101, in find_module > module_name, relative_to=None if relative_level == 0 else self.parent_module, pos=pos) > File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython-0.21.2-py2.7-macosx-10.9-x86_64.egg/Cython/Compiler/Main.py", line 140, in find_module > pxd_pathname = self.find_pxd_file(qualified_name, pos) > File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython-0.21.2-py2.7-macosx-10.9-x86_64.egg/Cython/Compiler/Main.py", line 192, in find_pxd_file > pxd = self.search_include_directories(qualified_name, ".pxd", pos, sys_path=True) > File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython-0.21.2-py2.7-macosx-10.9-x86_64.egg/Cython/Compiler/Main.py", line 233, in search_include_directories > tuple(self.include_directories), qualified_name, suffix, pos, include, sys_path) > File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython-0.21.2-py2.7-macosx-10.9-x86_64.egg/Cython/Utils.py", line 22, in wrapper > res = cache[args] = f(*args) > File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython-0.21.2-py2.7-macosx-10.9-x86_64.egg/Cython/Utils.py", line 111, in search_include_directories > path = os.path.join(dir, dotted_filename) > File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/posixpath.py", line 80, in join > path += '/' + b > UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position 30: ordinal not in range(128) > building 'ccplot.hdf' extension > clang -fno-strict-aliasing -fno-common -dynamic -I/usr/local/include -I/usr/local/opt/sqlite/include -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/Cellar/netcdf/4.3.2/include -I/usr/include/hdf -I/usr/local/include/hdf -I/opt/local/include -I/usr/local/lib/python2.7/site-packages/numpy/core/include -I/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c ccplot/hdf.c -o build/temp.macosx-10.9-x86_64-2.7/ccplot/hdf.o > ccplot/hdf.c:1:2: error: Do not use this file, it is the result of a failed > Cython compilation. > #error Do not use this file, it is the result of a failed Cython compilation. > ^ > 1 error generated. > error: command 'clang' failed with exit status 1 > ======================================================================== Hi, Thanks for the report. I'm not 100% sure, but it seems that it is because you are compiling ccplot in a directory which contains unicode characters in its path. The bug has already been reported to cython, but they don't seem to have done anything about it. https://groups.google.com/forum/#!searchin/cython-users/unicodedecodeerror/cython-users/D8_mhkAUZXA/0ALSNrC7iMkJ I suggest you try moving the ccplot directory to a different system path, one which does not contain non-ASCII characters. If it does not help, please let me know. Regards, Peter |
From: 刘金卿 <liu...@12...> - 2015-01-04 01:24:10
|
hi, my system is mac os mavericks,and I use brew install python brew install hdf4 brew install numpy pip install matplotlib brew install matplotlib-basemap install cython from source but when I install ccplot, I got ======================================================================== running build running build_py running build_ext cythoning ccplot/hdf.pyx to ccplot/hdf.c Error compiling Cython file: ------------------------------------------------------------ ... cimport cython ^ ------------------------------------------------------------ ccplot/hdf.pyx:1:8: Compiler crash in AnalyseDeclarationsTransform File 'ModuleNode.py', line 103, in analyse_declarations: ModuleNode(hdf.pyx:1:0, full_module_name = 'ccplot.hdf') File 'Nodes.py', line 387, in analyse_declarations: StatListNode(hdf.pyx:1:0) File 'Nodes.py', line 387, in analyse_declarations: StatListNode(hdf.pyx:1:8) File 'Nodes.py', line 6929, in analyse_declarations: CImportStatNode(hdf.pyx:1:8, module_name = u'cython') Compiler crash traceback from this point on: File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython-0.21.2-py2.7-macosx-10.9-x86_64.egg/Cython/Compiler/Nodes.py", line 6929, in analyse_declarations module_scope = env.find_module(self.module_name, self.pos) File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython-0.21.2-py2.7-macosx-10.9-x86_64.egg/Cython/Compiler/Symtab.py", line 1101, in find_module module_name, relative_to=None if relative_level == 0 else self.parent_module, pos=pos) File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython-0.21.2-py2.7-macosx-10.9-x86_64.egg/Cython/Compiler/Main.py", line 140, in find_module pxd_pathname = self.find_pxd_file(qualified_name, pos) File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython-0.21.2-py2.7-macosx-10.9-x86_64.egg/Cython/Compiler/Main.py", line 192, in find_pxd_file pxd = self.search_include_directories(qualified_name, ".pxd", pos, sys_path=True) File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython-0.21.2-py2.7-macosx-10.9-x86_64.egg/Cython/Compiler/Main.py", line 233, in search_include_directories tuple(self.include_directories), qualified_name, suffix, pos, include, sys_path) File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython-0.21.2-py2.7-macosx-10.9-x86_64.egg/Cython/Utils.py", line 22, in wrapper res = cache[args] = f(*args) File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython-0.21.2-py2.7-macosx-10.9-x86_64.egg/Cython/Utils.py", line 111, in search_include_directories path = os.path.join(dir, dotted_filename) File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/posixpath.py", line 80, in join path += '/' + b UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position 30: ordinal not in range(128) building 'ccplot.hdf' extension clang -fno-strict-aliasing -fno-common -dynamic -I/usr/local/include -I/usr/local/opt/sqlite/include -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/Cellar/netcdf/4.3.2/include -I/usr/include/hdf -I/usr/local/include/hdf -I/opt/local/include -I/usr/local/lib/python2.7/site-packages/numpy/core/include -I/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c ccplot/hdf.c -o build/temp.macosx-10.9-x86_64-2.7/ccplot/hdf.o ccplot/hdf.c:1:2: error: Do not use this file, it is the result of a failed Cython compilation. #error Do not use this file, it is the result of a failed Cython compilation. ^ 1 error generated. error: command 'clang' failed with exit status 1 ======================================================================== |
From: Peter K. <pet...@wa...> - 2014-12-09 20:04:55
|
Hi Hamed, It is a bit strange your file is 2014-06-13 22:05:53 - 22:12:07, I could only find CAL_LID_L1-ValStage1-V3-30.2014-06-13T22-02-33ZN.hdf, which is 22:02:33 - 22:49:00. But anyway... To make a basic plot use a command like this: ccplot -o 1.pdf -x +0:00..+3:30 -c calipso-backscatter.cmap calipso532 1.hdf The two most important things you want to tune are: - The subset you want to plot with the `-x` option (here subset between 0min and 3min 30s relative to start). Supported format for `-x` is in the manual page[1]. - The dataset (here `calipso532` - "CALIPSO L1B Total Attenuated Backscatter 532nm") and the right colormap (here `calipso-backscatter.cmap`). A list of datasets is in the manual page[1], and a list of colormaps is on page 56 of [2]. Please try to follow the tutorial in Chapter 6 of Visualising Data from CloudSat and CALIPSO Satellites. Note that you don't have to enter the full path to a colormap as in the examples, i.e. use `-c cloudsat-reflectivity.cmap` instead of `-c /usr/share/ccplot/cmap/cloudsat-reflectivity.cmap` (this would not work on Windows). Links: 1: http://ccplot.org/doc/ccplot.1.html 2: https://github.com/peterkuma/ccplot/blob/gh-pages/pub/doc/pdf/Visualising_Data_from_CloudSat_and_CALIPSO_Satellites.pdf?raw=true If you still have any problems after reading the tutorial, feel free to ask. Good luck! Regards, Peter On 12/09/2014 07:02 PM, Hamed Adab wrote: > Hi Peter > > I could solved it. I used "ccplot -i" to see the information of Calipso > data. > I used the manual PDF to see how can I use ccplot comments. > But I need your help, Pls. > As I am not familiar with programming, how can I plot the Calipso data. > > I attached my data (Screen Shot). > > Thanks again, > Hamed > > > On Tue, Dec 9, 2014 at 3:38 PM, Peter Kuma <pet...@wa... > <mailto:pet...@wa...>> wrote: > > Hi Hamed, > > You can put the file in any directory. As ccplot is a console program, > you have to use the Windows Command Prompt to execute it. > > 1. Open Command Prompt (Start Menu->Run..., type "cmd"). > > 2. Go to the directory containing the CAL_LID_...hdf file. E.g. if you > saved it in C:\calipso, type: > > cd C:\calipso > > You can determine the path to the directory from the address bar in the > Windows file explorer. > > 3. Run ccplot: > > ccplot -i CAL_LID_L1-ValStage1-V3-01.2007-06-12T03-42-18ZN.hdf > > Some information about the file should be printed on the console. You > can run any ccplot commands like the one above. Any plots will be saved > in the same directory. > > If you instead get an error such as "ccplot is not recognized as an > internal or external command", it means it is not installed properly or > something else is wrong. Please let me know if that is the case. > > Here is a short tutorial I could find on how to open the Command Prompt > and use the cd command to change directories. I hope it helps. > > http://physiology.med.unc.edu/wwwMHMF/how-to/work-with-cmd/default.html > > Regards, > > Peter > > On 12/08/2014 04:12 PM, Hamed Adab wrote: > > Hi > > > > I used ccplot on windows XP. > > > > I downloaded "CAL_LID_L1-ValStage1-V3-01.2007-06-12T03-42-18ZN.hdf" > > So which directory I should put the data to read by ccplot > > > > > > Thank you > > |
From: Peter K. <pet...@wa...> - 2014-12-09 12:08:57
|
Hi Hamed, You can put the file in any directory. As ccplot is a console program, you have to use the Windows Command Prompt to execute it. 1. Open Command Prompt (Start Menu->Run..., type "cmd"). 2. Go to the directory containing the CAL_LID_...hdf file. E.g. if you saved it in C:\calipso, type: cd C:\calipso You can determine the path to the directory from the address bar in the Windows file explorer. 3. Run ccplot: ccplot -i CAL_LID_L1-ValStage1-V3-01.2007-06-12T03-42-18ZN.hdf Some information about the file should be printed on the console. You can run any ccplot commands like the one above. Any plots will be saved in the same directory. If you instead get an error such as "ccplot is not recognized as an internal or external command", it means it is not installed properly or something else is wrong. Please let me know if that is the case. Here is a short tutorial I could find on how to open the Command Prompt and use the cd command to change directories. I hope it helps. http://physiology.med.unc.edu/wwwMHMF/how-to/work-with-cmd/default.html Regards, Peter On 12/08/2014 04:12 PM, Hamed Adab wrote: > Hi > > I used ccplot on windows XP. > > I downloaded "CAL_LID_L1-ValStage1-V3-01.2007-06-12T03-42-18ZN.hdf" > So which directory I should put the data to read by ccplot > > > Thank you |
Hi I used ccplot on windows XP. I downloaded "CAL_LID_L1-ValStage1-V3-01.2007-06-12T03-42-18ZN.hdf" So which directory I should put the data to read by ccplot Thank you |
From: Peter K. <pet...@wa...> - 2014-11-27 12:36:26
|
On 11/26/2014 10:04 PM, ANDREW HITCHNER (RIT Student) wrote: > Hello, > > I am trying to build ccplot, but I get an error "Unresolved external > symbol referenced in function"In fct this happens 3 times, and seems to > be . hdf.obj build. An example would be "unresolved external symbol > VSinquire referenced in function _pyx_pf_6ccplot_3hdf_3HDF_32_read_vdata > > I am using a 64 bit Windows 7 machine with Python 2.7. > > Thank you for your help. > > Andrew Hi Andrew, When building on Windows, you should make sure you have the HDF4 and HDFEOS2 libraries installed. Right now the paths to the libraries are hard-coded in setup.py to: C:\Program Files (x86)\HDF_Group\HDF\4.2.9 C:\Program Files (x86)\hdfeos2.18 If you use different versions, just update the paths in setup.py. I think you need the "static" win32 version of HDF4. The windows build on the ccplot.org website was made with Visual C++ 2008 Express Edition. If I remember right, it was because python2.7 itself is compiled with this version of VS, so it was necessary. ccplot can be built with the command: python setup.py bdist_wininst If everything goes well, it produces the installer executable in dist. If it doesn't work for you, please let me know, I have to try myself, as it has been a long time since I was making the build. Good luck! Peter |