Giter Club home page Giter Club logo

pydelft's Introduction

pydelft

Python tools for working with Delft3d FLOW.

Reading and writing the d3d oupput

1. Using the "requirments.txt" to install pacakages**

   py -m pip install -r requirements.txt 

reference

2.

   conda install pyqt=4

or

   conda install pyqt

reference

3. How to install Matplotlib's basemap?

    pip install basemap-1.0.8-cp34-none-win_amd64.whl

reference

or

    pip install basemap

reference

or

    conda install -c conda-forge basemap

reference

or

   conda install -c conda-forge basemap-data-hires 

After doing this, executing

from mpl_toolkits.basemap import Basemap

from python console should work normally.

4. Download the basemap

pip3 install basemap_data_hires-1.3.2-py3-none-any.whl

reference

5. How to add your Conda environment to your jupyter notebook in just 4 steps

Step 1: Create a Conda environment.

conda create --name firstEnv

Step 2: Activate the environment using the command as shown in the console. After you activate it, you can install any package you need in this environment.

conda install -c conda-forge tensorflow

Step 3: Now you have successfully installed Tensorflow.

conda install -c anaconda ipykernel

After installing this,

python -m ipykernel install --user --name=firstEnv
python -m ipykernel install --user --name=pydelft2

Step 4: Just check your Jupyter Notebook, to see the shining firstEnv.

6.

pip3 install pyproj

7. UsageError: Line magic function % not found. Jupyter Notebook

Spell it as two words, rather than three:

%matplotlib inline

8. 'grd' no object has no attribute 'fileName'

grd.py

init function for your admin class needs a line

self.read_grd(fname)

reference

9. MITGCM

https://mitgcm.readthedocs.io/en/latest/utilities/utilities.html

10.linlk lpt

https://github.com/VeckoTheGecko/ocean-plastic-honours

https://github.com/VeckoTheGecko/ocean-plastic-honours/blob/2825d9c75a75a893ada7fb37c5d30e0fd0da8fc6/my_modelling/delft_to_parcels_tooling.py

https://tristansalles.github.io/EnviReef/6-addson/parcels.html#reading-velocities-into-parcels

pydelft's People

Contributors

spmls avatar wentaogong111 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.