A Flask web application that visualizes NetCDF data on an interactive map using Leaflet.js and datashader.
- Interactive map visualization of NetCDF data
- Dynamic tile generation
- Time series data display on click
- Responsive design
- Caching for improved performance
- Clone the repository:
git clone https://github.com/yourusername/Netcdf-to-Map-Using-Flask.git
cd Netcdf-to-Map-Using-Flask- Create a virtual environment and activate it:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate- Install dependencies:
pip install -r requirements.txt- Place your NetCDF file in the appropriate directory
- Run the Flask application:
python app.py- Open your browser and navigate to
http://localhost:5000
You can modify the following settings in config.py:
- Map center coordinates
- Zoom levels
- Cache settings
- Data file paths