Skip to content

A script used to convert satellite imagery files from nc to csv

Notifications You must be signed in to change notification settings

hippymitty/NCFileConverter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

About The Project

This file converter is a quick way to read in varibles from .cf files (netCDF) and convert to CSV. It was initially created to process large amounts of Physical Oceanography data to be consumed and joined in an easy way.

If you're wishing to test this with Chlorophyll, dowload data from here: https://oceancolor.gsfc.nasa.gov/l3/

Add the downloaded files to the folders mentioned in script.py & update the variable names if needed.

Getting Started

To get a local copy up and running follow these simple steps.

Packages

The below are packages required for this project

  • netCDF4
  • xarray
  • os
  • numpy
  • matplotlib

Installation

  1. Clone the repo
    git clone https://github.com/hippymitty/NCFileConverter.git
  2. Install packages as mentioned above
    pip3 install <package>

Data

The below link will take you to EarthData which is a NASA initiative for Ocean Colour. You will need to create an account to download the data.

https://oceancolor.gsfc.nasa.gov/l3/

Usage

This file converter can be useful when working with large amount of satellite data or any type of .nc file data. It helps to convert to csv, however depending on the conversion required it will need further tweaking.

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

About

A script used to convert satellite imagery files from nc to csv

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages