Open rsieg opened 4 years ago
NetCDF has extensive documentation but it's really confusing on what exact utilities you need to install the R ncdf4 package.
It seems that the C library is what other language interfaces depend on. https://www.unidata.ucar.edu/software/netcdf/docs/getting_and_building_netcdf.html
Sent with GitHawk
Probably. I don't know enough to be sure, though. I have asked the ncdf4 package creator/maintainer for advice.
Thanks
On 1/30/20 7:04 PM, Lucius Hu wrote:
NetCDF has extensive documentation but it's really confusing on what exact utilities you need to install the R ncdf4 package.
It seems that the C library is what other language interfaces depend on. https://www.unidata.ucar.edu/software/netcdf/docs/getting_and_building_netcdf.html
_Sent with GitHawk http://githawk.com
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/clearlinux/distribution/issues/1689?email_source=notifications&email_token=ADGMIBX4GH4OYJTRALDCGHLRAOILVA5CNFSM4KN7XEEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKNKTSQ#issuecomment-580561354, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADGMIBQ7G4KVCPEE5XIQWOLRAOILVANCNFSM4KN7XEEA.
I checked with the creator of R's ncdf4 package. He confirms that C is the way to go.
On Thu, Jan 30, 2020, 19:04 Lucius Hu notifications@github.com wrote:
NetCDF has extensive documentation but it's really confusing on what exact utilities you need to install the R ncdf4 package.
It seems that the C library is what other language interfaces depend on.
https://www.unidata.ucar.edu/software/netcdf/docs/getting_and_building_netcdf.html
Sent with GitHawk http://githawk.com
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/clearlinux/distribution/issues/1689?email_source=notifications&email_token=ADGMIBX4GH4OYJTRALDCGHLRAOILVA5CNFSM4KN7XEEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKNKTSQ#issuecomment-580561354, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADGMIBQ7G4KVCPEE5XIQWOLRAOILVANCNFSM4KN7XEEA .
swupd now lists NetCDF as part of the R-extras package. It is not listed under R-extras in bundles.html. Whom to believe?
On 1/30/20 7:04 PM, Lucius Hu wrote:
NetCDF has extensive documentation but it's really confusing on what exact utilities you need to install the R ncdf4 package.
It seems that the C library is what other language interfaces depend on. https://www.unidata.ucar.edu/software/netcdf/docs/getting_and_building_netcdf.html
_Sent with GitHawk http://githawk.com
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/clearlinux/distribution/issues/1689?email_source=notifications&email_token=ADGMIBX4GH4OYJTRALDCGHLRAOILVA5CNFSM4KN7XEEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKNKTSQ#issuecomment-580561354, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADGMIBQ7G4KVCPEE5XIQWOLRAOILVANCNFSM4KN7XEEA.
Just install R-extras bundle and check whether it's indeed installed.
"find" does not indicate the presence of anything netcdf or ncdf in R bundles. ncdf occurs in Python. Trying to install R's ncdf4 package in R-studio fails. ncdf4 requires NetCDF's nc-config.
Installation of the ncdf4 package in CL R-studio on another computer on which I installed NetCDF4 from source succeeds. Even though the NetCDF4 install did not pass many of its tests, the important (from R's standpoint) nc-config file is present.
On 2/5/20 7:31 PM, Lucius Hu wrote:
Just install R-extras bundle and check whether it's indeed installed.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/clearlinux/distribution/issues/1689?email_source=notifications&email_token=ADGMIBVACKPIGJF35IN7TT3RBOABTA5CNFSM4KN7XEEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEK5ZTQQ#issuecomment-582719938, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADGMIBT2F2YJBMUR2RPJW53RBOABTANCNFSM4KN7XEEA.
I've tried to add these to R-extras fwiw.... surprised it's not working?
On Sat, Feb 8, 2020 at 10:34 AM rsieg notifications@github.com wrote:
"find" does not indicate the presence of anything netcdf or ncdf in R bundles. ncdf occurs in Python. Trying to install R's ncdf4 package in R-studio fails. ncdf4 requires NetCDF's nc-config.
Installation of the ncdf4 package in CL R-studio on another computer on which I installed NetCDF4 from source succeeds. Even though the NetCDF4 install did not pass many of its tests, the important (from R's standpoint) nc-config file is present.
On 2/5/20 7:31 PM, Lucius Hu wrote:
Just install R-extras bundle and check whether it's indeed installed.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/clearlinux/distribution/issues/1689?email_source=notifications&email_token=ADGMIBVACKPIGJF35IN7TT3RBOABTA5CNFSM4KN7XEEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEK5ZTQQ#issuecomment-582719938>,
or unsubscribe < https://github.com/notifications/unsubscribe-auth/ADGMIBT2F2YJBMUR2RPJW53RBOABTANCNFSM4KN7XEEA .
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/clearlinux/distribution/issues/1689?email_source=notifications&email_token=AAJ54FMCCCYBKYUEDFFBXNTRB33JVA5CNFSM4KN7XEEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELFYSOI#issuecomment-583764281, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJ54FODH7YXST745CUGRYDRB33JVANCNFSM4KN7XEEA .
Trying certainly is appreciated. Does the question indicate it loads OK into R-studio for you?
If not, might it be simpler to create a bundle of NetCDF and HDF5? These are used by programs in quite a few languages.
On 2/8/20 11:04 AM, Arjan van de Ven wrote:
I've tried to add these to R-extras fwiw.... surprised it's not working?
On Sat, Feb 8, 2020 at 10:34 AM rsieg notifications@github.com wrote:
"find" does not indicate the presence of anything netcdf or ncdf in R bundles. ncdf occurs in Python. Trying to install R's ncdf4 package in R-studio fails. ncdf4 requires NetCDF's nc-config.
Installation of the ncdf4 package in CL R-studio on another computer on which I installed NetCDF4 from source succeeds. Even though the NetCDF4 install did not pass many of its tests, the important (from R's standpoint) nc-config file is present.
On 2/5/20 7:31 PM, Lucius Hu wrote:
Just install R-extras bundle and check whether it's indeed installed.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <
or unsubscribe <
https://github.com/notifications/unsubscribe-auth/ADGMIBT2F2YJBMUR2RPJW53RBOABTANCNFSM4KN7XEEA
.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub
https://github.com/notifications/unsubscribe-auth/AAJ54FODH7YXST745CUGRYDRB33JVANCNFSM4KN7XEEA .
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/clearlinux/distribution/issues/1689?email_source=notifications&email_token=ADGMIBUODZJJIEHYWW5WYITRB362JA5CNFSM4KN7XEEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELFZGTY#issuecomment-583766863, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADGMIBS6FUNMEFQ7FTKS3RTRB362JANCNFSM4KN7XEEA.
I did a proper install from source today of HDF5 and NetCDF. Then, I was able to install the R package ncdf4 again, and everything seems to work from R studio. Just so you know one or two variables are eliminated.
On Sat, Feb 8, 2020, 16:30 Bob Siegfried robtsiegfried@gmail.com wrote:
Trying certainly is appreciated. Does the question indicate it loads OK into R-studio for you?
If not, might it be simpler to create a bundle of NetCDF and HDF5? These are used by programs in quite a few languages.
On 2/8/20 11:04 AM, Arjan van de Ven wrote:
I've tried to add these to R-extras fwiw.... surprised it's not working?
On Sat, Feb 8, 2020 at 10:34 AM rsieg notifications@github.com notifications@github.com wrote:
"find" does not indicate the presence of anything netcdf or ncdf in R bundles. ncdf occurs in Python. Trying to install R's ncdf4 package in R-studio fails. ncdf4 requires NetCDF's nc-config.
Installation of the ncdf4 package in CL R-studio on another computer on which I installed NetCDF4 from source succeeds. Even though the NetCDF4 install did not pass many of its tests, the important (from R's standpoint) nc-config file is present.
On 2/5/20 7:31 PM, Lucius Hu wrote:
Just install R-extras bundle and check whether it's indeed installed.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <
or unsubscribe <
https://github.com/notifications/unsubscribe-auth/ADGMIBT2F2YJBMUR2RPJW53RBOABTANCNFSM4KN7XEEA
.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub
https://github.com/clearlinux/distribution/issues/1689?email_source=notifications&email_token=AAJ54FMCCCYBKYUEDFFBXNTRB33JVA5CNFSM4KN7XEEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELFYSOI#issuecomment-583764281 https://github.com/clearlinux/distribution/issues/1689?email_source=notifications&email_token=AAJ54FMCCCYBKYUEDFFBXNTRB33JVA5CNFSM4KN7XEEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELFYSOI#issuecomment-583764281 , or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJ54FODH7YXST745CUGRYDRB33JVANCNFSM4KN7XEEA https://github.com/notifications/unsubscribe-auth/AAJ54FODH7YXST745CUGRYDRB33JVANCNFSM4KN7XEEA .
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/clearlinux/distribution/issues/1689?email_source=notifications&email_token=ADGMIBUODZJJIEHYWW5WYITRB362JA5CNFSM4KN7XEEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELFZGTY#issuecomment-583766863, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADGMIBS6FUNMEFQ7FTKS3RTRB362JANCNFSM4KN7XEEA .
@rsieg
I failed to install ncdf4
in R with error
ERROR: configuration failed for package ‘ncdf4’
* removing ‘/home/lucius/R/x86_64-generic-linux-gnu-library/3.6/ncdf4’
This might result from missing nc-config
script that comes with netcdf 4
distribution.
But I'm able to load ncdf4
library in R with library(ncdf4)
, which is provided in R-extras
bundle. Can you check whether this library works?
R's ncdf4 library works with installation of the R-extras package. Tested with sresa1b_ncar_ccsm3-example.nc https://www.unidata.ucar.edu/software/netcdf/examples/sresa1b_ncar_ccsm3-example.nc from https://www.unidata.ucar.edu/software/netcdf/examples/files.html
On 2/10/20 7:26 PM, Lucius Hu wrote:
@rsieg https://github.com/rsieg
I failed to install |ncdf4| in R with error
|ERROR: configuration failed for package ‘ncdf4’ * removing ‘/home/lucius/R/x86_64-generic-linux-gnu-library/3.6/ncdf4’ |
This might result from missing |nc-config| script that comes with |netcdf 4| distribution.
But I'm able to load |ncdf4| library in R with |library(ncdf4)|, which is provided in |R-extras| bundle. Can you check whether this library works?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/clearlinux/distribution/issues/1689?email_source=notifications&email_token=ADGMIBQ5EYLUJCBSPGL6O43RCILFFA5CNFSM4KN7XEEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELLDOPA#issuecomment-584464188, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADGMIBRNVQW2MAMFN2D4NNDRCILFFANCNFSM4KN7XEEA.
NetCDF utilities are required to install the R package ncdf4. Swupd search returns "Bundle with the best search result: python-extras", but a search of python-extras does not show that to be the case, nor, having python-extras installed, can I find netcdf in my file system. I would like to request the NetCDF libraries be made available.