Oops, it should be export PATH=/path/to/your/conda_installation/bin:$PATH not set PATH=/path/to/your/conda_installation/bin:$PATH On Tue, Jun 4, 2024 at 3:16 PM Gus Correa gus@ldeo.columbia.edu wrote: Hi Sam May I ask why you want to install NCO from source? In my experience, installing software from source on Ginsburg hits missing libraries very often, and it is a hassle to build them all in your home directory. (It would be much easier for the superuser to install them from packages, but that is...
Hi Sam May I ask why you want to install NCO from source? In my experience, installing software from source on Ginsburg hits missing libraries very often, and it is a hassle to build them all in your home directory. (It would be much easier for the superuser to install them from packages, but that is another story.) A reasonable alternative, which will get you the latest (or close to the latest) NCO is to use the Anaconda conda installer. There are instructions in the link below, on https://nco.sourceforge.net/#RTFM...
Hi Andrea You could send the "ncdump -h input_file.nc" and "ncdump -h output_file.nc" of your input and output files. That may help understand what is going on. Gus Correa On Sun, May 16, 2021 at 2:15 PM "Andrea Halász" worldcreater@users.sourceforge.net wrote: Thanks Charlie for your fast response! I already tried it and its always deleting the dimension and the time. I just tried it now again with your command, the dimension is now deleted. But my standard time also. So it was connected with the...
You could use bash arrays. Assuming the arrays are the same length, here is a sketch of a script" ! /usr/bin/bash files = (file1 file2 ...) titles = ('title1' 'title2' ...) summaries = ('summary of file 1' 'summary of file 2' ... ) keywords = ( 'keywd1f1, keyw2df1' 'keywd1f2, keywd2f2' ...) for ii in ${!files[@]}; do ncatted -O -a title,global,c,c, ${title[$ii]} rainc.nc rainc.nc http://rainc_ga.nc ncatted -O -a summary,global,c,c,${summaries[$ii]} rainc.nc rainc.nc ncatted -O -a keywords,global,c,c,${keywords[$ii]}...
Pablo netCDF variables are not array-valued as you seem to want them to be when you try to define the variable yymmddHHMMSS. The variables are scalar-valued. Please check the links on netCDF file structure, components, requirements that I sent you in the previous email. If your observation number/index is the primary key to your data, you may want to have separate variables for SS,MM,HH,dd,mm,yy, all indexed by the observation number, along with the observation data variable, and along with an unlimited...
Hi Pablo It is not clear what you want to achieve, although I suspect you want to create a date coordinate variable that encapsulates SS, MM, HH, dd, mm, yy. Note that coordinate variables are one-dimensional and monotonic. If the date-time in your tabular data is not monotonic, you would need to sort them in increasing or decreasing order of yy,mm,dd,HH,MM,SS Also, it may help if you tell how many observations you have, how many years, months, hours, minutes, seconds in your tabular data. INetCDF...
Hi If it is RedHat, the package installer is yum. You need to be root to install, or be given administrative privilege (say, via sudo). You need the epel repository to get nco (and netcdf, etc). Instructions to install epel are here (for Fedora, but it is the same for CentOS and RedHat): https://fedoraproject.org/wiki/EPEL After epel is installed, you can list the available nco packages: yum list |grep ^nco nco.i686 4.3.7-2.el6 epel nco.x86_64 4.3.7-2.el6 epel nco-devel.i686 4.3.7-2.el6 epel nco-devel.x86_64...
This seems to be the output of a chemical transport model, which for regional scale may use a map projection other than lat-lon (UTM). There may be a separate file with information about the map projection and coordinates. On Sun, Feb 24, 2019 at 11:44 AM Alireza Balalan Fard fard792@users.sourceforge.net wrote: hi Charlie tanx but i have read this page before , but in netcdf file i have not any lon/lat ! i have numer of x=72 and y=100 points with few variables... you can see header of netCDF file...