Coder Social home page Coder Social logo

rileyhales / gldas Goto Github PK

View Code? Open in Web Editor NEW
2.0 0.0 2.0 42.44 MB

A Tethys application for visualizing NASA GLDAS data with time-enabled maps and graphs of timeseries data and statistical analysis by month and year

Home Page: https://gldas-data-tool.readthedocs.io/en/latest/

License: BSD 3-Clause "New" or "Revised" License

Python 48.02% JavaScript 32.34% HTML 17.54% CSS 0.54% Shell 1.56%
tethys gldas-data nasa earth-observation

gldas's Introduction

GLDAS Data Tool Documentation

Documentation Status License GitHub repo size

This is a Tethys 2/3 compatible app that visualizes data from the NASA GES Disc website. It was developed to show ¼ degree resolution netcdf4 (.nc4) datasets with monthly averages. Datasets of other resolutions and for other time-periods may also work.

© Riley Hales, 2019. Developed at the BYU Hydroinformatics Lab.

Read the documentation on ReadTheDocs

gldas's People

Contributors

rileyhales avatar

Stargazers

 avatar  avatar

gldas's Issues

Find a better geoprocessing method

When there are multiple polygons in a shapefile, each gets an average value and then the averages are averaged, not even a weighted average by size or something. there should be a better way to do this

Fresh Install expects last_run file to be there.

A fresh install on the new server gives the following error.

`ERROR Internal Server Error: /apps/gfs/
Traceback (most recent call last):
File "/media/root/tethys/main/tethys/miniconda/envs/tethys/lib/python3.6/site-packages/django/core/handlers/exception.py", line 41, in inner
response = get_response(request)
File "/media/root/tethys/main/tethys/miniconda/envs/tethys/lib/python3.6/site-packages/django/core/handlers/base.py", line 249, in _legacy_get_response
response = self._get_response(request)
File "/media/root/tethys/main/tethys/miniconda/envs/tethys/lib/python3.6/site-packages/django/core/handlers/base.py", line 187, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/media/root/tethys/main/tethys/miniconda/envs/tethys/lib/python3.6/site-packages/django/core/handlers/base.py", line 185, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/media/root/tethys/main/tethys/miniconda/envs/tethys/lib/python3.6/site-packages/django/contrib/auth/decorators.py", line 23, in _wrapped_view
return view_func(request, *args, **kwargs)
File "/media/root/tethys/main/tethys/src/tethys_apps/tethysapp/gfs/controllers.py", line 45, in home
current_gfs_time = currentgfs()
File "/media/root/tethys/main/tethys/src/tethys_apps/tethysapp/gfs/options.py", line 102, in currentgfs
timestamp = gettimestamp()
File "/media/root/tethys/main/tethys/src/tethys_apps/tethysapp/gfs/options.py", line 23, in gettimestamp
with open(os.path.join(path, 'last_run.txt'), 'r') as file:
FileNotFoundError: [Errno 2] No such file or directory: '/media/root/tethys/main/thredds/data/thredds/public/gfs/last_run.txt'
[pid: 28145|app: 0|req: 1/18] 136.36.97.224 () {46 vars in 2047 bytes} [Mon Jul 8 06:25:55 2019] GET /apps/gfs/ => generated 8961 bytes in 663 msecs (HTTP/1.1 500) 4 headers in 143 bytes (1 switches on core 0)

`

Could you please fix the issue and let me know when the code is ready to pull? Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.