Skip to content

Commit

Permalink
0.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
palexandremello committed Mar 23, 2018
2 parents f6ed85d + 464ffc7 commit 8d33fbb
Showing 1 changed file with 39 additions and 5 deletions.
44 changes: 39 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,35 @@
And install manually

>**pip install -e .**
>**python setup.py install**
But if you don't want to build the cloned repository, just use the pip.
But if you don't want to build the cloned repository, just use the pip on terminal.

### 2. Pip Install:

With the pip:
Acess a terminal and use the command **pip**:

> **pip install goespy**
### 3. Update the package:

The goespy will have more new version in the future, so when this release comes. you need upgrade your package, so use this command on terminal.

> **pip install --upgrade goespy**
Or if you want build again the new source code

## Examples how to use:

This package has two main function, can be used to get dataset from GOES:

### 1. HOWTO get from ABI-sensors:
### 1. HOW TO get from ABI-sensors:

<<<<<<< HEAD
First open a file with the filename **firstexample.py** and put the next command on the top.
=======
First open a file with the filename **firstexample.py** and put the next command on header's script.
>>>>>>> origin
> **from goespy.Downloader import ABI_Downloader**
Expand All @@ -61,17 +73,28 @@ Below do the initialization for these variable in your firstexample.py :
> bucket = 'noaa-goes16'
> year='2018'
<<<<<<< HEAD

> month='03'
> day='22'
> hour='12'
=======

> month='03'
> day='22'
> hour='12'
>>>>>>> origin
> product='ABI-L2-CMIPF'
> channel='C13'
<<<<<<< HEAD
Now, you can call the function, so write it on your **firstexample.py**:
> ABI = ABI_Downloader(bucket,year,month,day,hour,product,channel)
Expand All @@ -82,9 +105,20 @@ And run the script
wait for download to complete (you can see the progress)

=======
Now, you can call the function, so write it on your **firstexample.py** after you initialized the variables above:
> ABI = ABI_Downloader(bucket,year,month,day,hour,product,channel)
And run the script

> python firstexample.py
wait for download to complete (you can see the progress)

>>>>>>> origin
After the download to finishes, check your home directory (**Linux and mac OS X users**) and your dataset will be in a directory has the same name from the satellite used on bucket variable. In this case: **goes16**.

### 2. HOWTO get from GLM total lightning:
### 2. HOW TO get from GLM total lightning:

> **from goespy import GLM_Downloader**
Expand Down

0 comments on commit 8d33fbb

Please sign in to comment.