Comments (17)
Ok, great to know! I'll figure it out tomorrow and will let you know when I have a fix.
from pytmd.
I'm running it since 5 mins, no errors! But it seems stuck at after printing INFO:__main__:ftp://ftp-access.aviso.altimetry.fr/auxiliary/tide_model/fes2014_elevations_and_load/fes2014b_elevations/ocean_tide.tar.xz -->
Is this normal?
from pytmd.
Okay. I'm adding an option for upping the timeout in #205. You should be able to force it to just download by making it big enough.
from pytmd.
Thank you Tyler. It is working now. If you don't mind I will close this issue!
from pytmd.
Glad we got everything sorted out! Let me know if you need anything :)
from pytmd.
Hi @Mohammad-Mardini,
Yeah, looks like I was a little overambitious with the conversion to pathlib
. Sorry about that! This is fixed in #203
Thanks for pointing it out!
Cheers,
Tyler
from pytmd.
Hi Tyler,
Thank you for help. The problem is solved now :) However, I'm having another error please see the attached screenshot. I think there is some gird/data missing! If this is the cause of the problem, could you please point me it. Thanks again for your time and efforts.
from pytmd.
Hi @Mohammad-Mardini,
Glad the first set of errors got fixed!
So I'm not the producer of the tide constituents and am only licensed as an academic data user. The aviso_fes_tides.py
script should be able to get the files you need to run with the FES models. You'll need to register with AVISO to get access. If you have any trouble let me know. I'll work on some documentation to highlight this (including a step-by-step guide for getting data for the different models).
I'll also reopen this issue in case you run into any problems (and to keep this issue in my head).
Cheers,
Tyler
from pytmd.
Hi @tsutterley,
Thank you for your prompt reply. Ok, I have registered to AVISO. Then I tried to run the aviso_fes_tides.py, using the credentials given by AVISO, by simply python aviso_fes_tides.py
. Note, the script folder is under the main directory of pyTMD. But I got the a new error. Please see the attached screenshot.
Best regards,
Mohammad
from pytmd.
Hey @Mohammad-Mardini,
I tried replicating this error on a few different machines (one linux and one mac) but couldn't seem to make things break. I'll keep trying. I'm wondering if there was an IO error during the transfer.
from pytmd.
Hi @tsutterley,
Thank you for your time and efforts. What do you suggest to check if the IO error indeed occurring during the data transfer?
-Mohammad
from pytmd.
Try running the program again?
from pytmd.
Normal as it's a 2GB tar file and transfer rates aren't great. It should (eventually) load that tar file into memory (never downloading it to disk), then write out the individual netCDF files for each FES model constituent to the output directory you entered.
from pytmd.
I see! 🤞🤞 for good news soon!
from pytmd.
Unfortunately, it broke with a timeout error message :(
from pytmd.
I don't know how naive my question is, but, can you upload the required data/files to a Google drive foe example?
from pytmd.
Sure. Uploading here. https://drive.google.com/drive/folders/1LVMMtqHb5AIBOivDnbxe7NM4Hi22-fDo
from pytmd.
Related Issues (20)
- Getting tons of DeprecationWarning upon import HOT 6
- `scipy` v1.10.0 fails for `RegularGridInterpolator`
- compute_tidal_elevations.py --type=grid fails with shape mismatch HOT 1
- Suggestion: show tidal models in help HOT 2
- pyTMD without Jupyter HOT 2
- Getting-Started.rst old link to Arc2kmTM HOT 1
- Netcdf time needs to be double HOT 1
- Definition File for HAMTIDE constituents HOT 3
- Allow Glob patterns when specifying the model files in definition files HOT 8
- pyTMD.io.model not working for current with FES2014 HOT 3
- How to get a datum and a datum value? HOT 2
- FES2012 support? HOT 4
- FileNotFoundError HOT 1
- Interpolation `METHOD="spline"` fails for TPXO8 HOT 8
- Issue with Iterating Over Model Files in pyTMD.io.ATLAS.extract_constants() HOT 2
- NameError: name 'ipyleaflet' is not defined HOT 1
- module 'pyTMD' has no attribute 'compute' HOT 2
- pyTMD.compute.tide_currents needing both u_* and v_* rather than only u_* HOT 16
- From barotropic velocity to surface velocity
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pytmd.