GithubHelp home page GithubHelp logo

de-nasa-viirs's Introduction

VIIRS_NASA

This repository contains:

  1. Sample VIIRS data file
  2. Readme file
  3. fileLists.txt file

There are five scripts:

  1. viirs_export_csv

a) Read the fileList and get the dataset/file(s) that is(are) listed. b) Get the date and time variable and map it along the size of the data array. c) Loop through all the sds variables and find "Aerosol_Optical_Thickness_550_Land", "Aerosol_Optical_Thickness_550_Land_Ocean_Best_Estimate", "Aerosol_Optical_Thickness_QA_Flag_Land", "Aerosol_Type_Land_Ocean" and "Angstrom_Exponent_Land_Ocean_Best_Estimate". d) Add columns for each one and list the values. e) Create .csv listing all the data for these variables along with the date and time when they were collected.

  1. read_viirs_and_list_sds

a) Read the fileList and get the dataset/file(s) that is(are) listed. b) The main function calls another function to print the following values: i) nc_attrs : list   A Python list of the NetCDF file global attributes ii) nc_dims : list   A Python list of the NetCDF file dimensions iii) nc_vars : list  A Python list of the NetCDF file variables

  1. read_viirs_at_a_location

a) Read the fileList and get the dataset/file(s) that is(are) listed. b) Calculate the mean, median, and standard deviation and display them. c) Calculate the range of valid data and display the longitude and latitude. d) User should input longitude and latitude that fall within the displayed range. e) Identify points that are closest to the user input and output the value of the closest collocation, and the means of a 3x3 and 5x5 pixel square centered around the input.

  1. read_and_map_viirs

a) Read the fileList and get the dataset/file(s) that is(are) listed. b) Prompt the user to choose between "Aerosol_Optical_Thickness_550_Land", "Aerosol_Optical_Thickness_550_Land_Ocean_Best_Estimate", "Aerosol_Optical_Thickness_QA_Flag_Land", "Aerosol_Type_Land_Ocean" and "Angstrom_Exponent_Land_Ocean_Best_Estimate". c) Calculate the range of valid data to be used to be displayed in the map. d) Plot the variable of interest along with a color bar on the side based on the sds variable chosen and the data for that variable.

  1. read_aod_and_calculate_pm25

a) Read the fileList and get the dataset/file(s) that is(are) listed. b) Prompt the user to choose between "Aerosol_Optical_Thickness_550_Land", "Aerosol_Optical_Thickness_550_Land_Ocean_Best_Estimate", "Aerosol_Optical_Thickness_QA_Flag_Land", "Aerosol_Type_Land_Ocean" and "Angstrom_Exponent_Land_Ocean_Best_Estimate". c) Calculate the range of valid data to be used to be displayed in the map. d) Based on the data seperate the quality of the aerosol. e) Prompt the user as to whether they want to input a slope. (NOTE: the default slope used in this code is meant for demonstrative purposes only and is not meant to be used for quantitative analyses) e) Plot a map of AQI along with a color bar on the side.

de-nasa-viirs's People

Contributors

nasaarset avatar pablofrancoaire avatar

Watchers

 avatar

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.