imohamme / NASAaccess

NASAaccess is R package that can generate gridded ascii tables of climate (CIMP5) and weather data (GPM, TRMM, GLDAS) needed to drive various hydrological models (e.g., SWAT, VIC, RHESSys, ..etc). The package assumes that users have already set up a registration account(s) with Earthdata login as well as authorizing NASA GESDISC data access. Please refer to https://disc.gsfc.nasa.gov/data-access for further details. The package relies on 'curl' (https://curl.haxx.se/) commands and library to access and download data from NASA remote sensing servers. Since Mac users have curl as part of macOS, Windows users should make sure that their local machines have 'curl' installed properly. Creating the ".netrc" file at the user machine 'Home' directory and storing the user NASA GESDISC logging information in it is needed to execute the package commands. Instructions on creating the ".netrc" and ".urs_cookies" files can be accessed at https://wiki.earthdata.nasa.gov/display/EL/How+To+Access+Data+With+cURL+And+Wget.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NASAaccess

DOIAnaconda-Server Badge Anaconda-Server Badge Anaconda-Server Badge

Ibrahim N. Mohammed

What is NASAaccess?

NASAaccess is a software application in the form of a R package, a conda package, and a Tethys web application. NASAaccess software can generate gridded ascii tables of climate CMIP5, CMIP6, and earth observation remote sensing data (GPM, TRMM, GLDAS) needed to drive various hydrological models (e.g., SWAT, VIC, RHESSys, …etc.). The NASAaccess Tethys web-based application can be used for accessing, reformatting, and visualizing climate and earth observation remote sensing gridded time series data as well.

Where to find the NASAaccess software?

How NASAaccess software is distributed?

NASAaccess is an open-source software package under NASA Open Source Agreement v1.3.

What is needed to install the NASAaccess software on my local machine?

R Library

On a local machine the user should have installed the following programs as well as setting up a user account. The list below gives a summary of what is needed to be done prior to work with NASAaccess software on any local machine:

  • Installing R software

  • Installing Rstudio software (OPTIONAL)

  • NASAaccess R package needs a user registration access with Earthdata. Users should set up a registration account(s) with Earthdata login as well as well as authorizing NASA GES DISC data access. Please refer to https://disc.gsfc.nasa.gov/information/documents Data Access section for further details.

  • curl software . Since Mac users have curl as part of macOS build, Windows users should make sure that their local machines build have curl installed properly.

    • Checking if you can run curl from your command prompt. Type curl --help and you should see the help pages for the curl program once everything is defined correctly.
  • Within Rstudio or R terminal run the following commands to install NASAaccess:

    • library(devtools)

    • install_github("nasa/NASAaccess", build_vignettes = TRUE)

    • library(NASAaccess)

Within the Rstudio help tab the user can verify that the package has been installed and browse the help pages of the various functions of NASAaccess. The GES DISC user registration access logging information will be processed by masking (i.e., not displaying the lieteral typed text as input) on most but not all platforms. Without providing GES DISC user registration access logging information, the user will receive ‘You need to provide your Earthdata GES DISC login to proceed…’ message.

Conda Package

  • NASAaccess conda package needs a user registration access with Earthdata. Users should set up a registration account(s) with Earthdata login as well as well as authorizing NASA GES DISC data access. Please refer to https://disc.gsfc.nasa.gov/information/documents Data Access section for further details.

    • Creating the .netrc file at the user machine Home directory and storing the user NASA GES DISC logging information in it is done automatically to execute the NASAaccess package commands. Accessing data from NASA servers is further explained at Here. The GES DISC user registration access logging information will be processed by masking in the terminal on any major OS. Without providing GES DISC user registration access logging information, the user will receive ‘You need to provide your Earthdata GES DISC login to proceed…’ message.
  • To install NASAaccess package in a conda environment run the following:

conda install -c conda-forge r-nasaaccess

Tethys web-based Application

Full details on installing the web-based application of NASAaccess on single machines and local servers can be found at readthedocs.

Is there a walk through examples for NASAaccess software?

Software users are encouraged to visit (https://imohamme.github.io/NASAaccess/) to learn more on NASAaccess functionality and capabilities.

How to cite R NASAaccess package?

citation(package = 'NASAaccess')
#> To cite package 'NASAaccess' in publications use:
#> 
#>   Mohammed I (2023). _NASAaccess: Downloading and Reformatting Tool for
#>   NASA Earth Observation Data Products_. R package version 3.4.3,
#>   <https://github.com/nasa/NASAaccess>.
#> 
#> A BibTeX entry for LaTeX users is
#> 
#>   @Manual{,
#>     title = {{NASAaccess}: Downloading and Reformatting Tool for NASA Earth Observation Data Products},
#>     author = {Ibrahim Mohammed},
#>     year = {2023},
#>     institution = {National Aeronautics and Space Administration, Goddard Space Flight Center},
#>     address = {Greenbelt, Maryland},
#>     note = {R package version 3.4.3},
#>     url = {https://github.com/nasa/NASAaccess},
#>   }

Reference

Mohammed, I.N., Bustamante, E.G.R., Bolten, J.D., Nelson, E.J., 2023. Technical note: NASAaccess – a tool for access, reformatting, and visualization of remotely sensed earth observation and climate data. Hydrol. Earth Syst. Sci. 27, 3621-3642, https://doi.org/10.5194/hess-27-3621-2023

About

NASAaccess is R package that can generate gridded ascii tables of climate (CIMP5) and weather data (GPM, TRMM, GLDAS) needed to drive various hydrological models (e.g., SWAT, VIC, RHESSys, ..etc). The package assumes that users have already set up a registration account(s) with Earthdata login as well as authorizing NASA GESDISC data access. Please refer to https://disc.gsfc.nasa.gov/data-access for further details. The package relies on 'curl' (https://curl.haxx.se/) commands and library to access and download data from NASA remote sensing servers. Since Mac users have curl as part of macOS, Windows users should make sure that their local machines have 'curl' installed properly. Creating the ".netrc" file at the user machine 'Home' directory and storing the user NASA GESDISC logging information in it is needed to execute the package commands. Instructions on creating the ".netrc" and ".urs_cookies" files can be accessed at https://wiki.earthdata.nasa.gov/display/EL/How+To+Access+Data+With+cURL+And+Wget.

License:Other


Languages

Language:R 96.4%Language:TeX 3.6%