Re: Error occured during the running of ccplot in linux to plot
CloudSat and CALIPSO plotting tool
Brought to you by:
peterkuma
From: Peter K. <pe...@pe...> - 2021-07-13 13:01:17
|
Dear Ankan, I think the problem is with the command line arguments. Instead of: ccplot -o calipso1.png cmap/calipso-backscatter.cmap calipso532-layer /HDF/CAL_LID_L2_05kmCLay-Standard-V4-20.2006-06-13T07-20-12ZD_Subset.hdf the command should be: ccplot -o calipso1.png -c calipso-backscatter.cmap -x 0..500 calipso532-layer /HDF/CAL_LID_L2_05kmCLay-Standard-V4-20.2006-06-13T07-20-12ZD_Subset.hdf Note the missing "-c", and also "cmap/calipso-backscatter.cmap" should probably be "calipso-backscatter.cmap". "-x 0..200" may be needed to select a smaller region - the image size would be too large for the plotting library to make. Can you try that? Kind regards, Peter -- Dr. Peter Kuma E-mail: pe...@pe... PGP key: https://peterkuma.net/pgp/peterkuma.asc Web: https://peterkuma.net/science On Tue, 13 Jul 2021 10:22:39 +0530 ANKAN SARKAR <2th...@gm...> wrote: > Dear Sir/Madam, > I have installed ccplot in Ubuntu 18.04 > LTS app on my PC (Windows 10). For the installation process, I > followed the user guide which is available on the website > (https://ccplot.org/download/). The steps I followed for the > installation processes are given below: 1. To install the required > libraries and ccplot: sudo apt install --no-install-recommends > python3 python3-dev gcc python3-distutils cython3 libhdf4-dev > libhdfeos-dev python3-pil python3-numpy python3-matplotlib > python3-mpltoolkits.basemap ttf-bitstream-vera > 2.Build and install ccplot: > tar xzf ccplot-1.5.6.tar.gz > cd ccplot-1.5.6 sudo python3 setup.py install > After that to check the version I simply run the 'ccplot -V' command > to print the version of the ccplot and the output came is in the > following: > > ccplot 1.5.6 > > Third-party libraries: > matplotlib 2.1.1 > basemap 1.1.0 > > Copyright (c) 2009-2015 Peter Kuma. > This software is provided under the terms of a 2-clause BSD licence. > > Now after that I wanted to make a plot from a hdf file of CALIPSO > data using ccplot as per the instruction given in the Chapter 6 of > 'Visualising Data from CloudSat and CALIPSO Satellites'. I have made > a directory named 'HDF' inside the folder 'ccplot-1.5.6.' where I put > the hdf files I want to plot. > 1. First I gave the command to know the information about the file > > ccplot -i > HDF/CAL_LID_L2_05kmCLay-Standard-V4-20.2006-06-13T07-20-12ZD_Subset.hdf > and the output came > > Type: CALIPSO > Subtype: profile > Time: 2006-06-13 07:44:32, 2006-06-13 07:47:00 > Height: -1815m, 39855m > nray: 200 > nbin: 583 > Longitude: 84.06E, 86.27E > Latitude: 21.55N, 30.46N > So up to this step, I think this is working fine. But when I want to > plot and give the command below it throws an error! > ccplot -o calipso1.png cmap/calipso-backscatter.cmap calipso532-layer > /HDF/CAL_LID_L2_05kmCLay-Standard-V4-20.2006-06-13T07-20-12ZD_Subset.hdf > > ccplot: calipso532-layer: HDF: SDstart failed: b'Bad file name on > open'. Does it mean ccplot is not installed properly? Can anyone tell > me why this is happening? And how to solve this problem? I am very > new to this software tool and any help on this is very much > appreciable. Thank you. > > Sincerely, > Ankan Sarkar > DST-INSPIRE Fellow > National Institute of Technology Rourkela |