GithubHelp home page GithubHelp logo

setting directory and model about pytmd HOT 17 CLOSED

tsutterley avatar tsutterley commented on June 3, 2024
setting directory and model

from pytmd.

Comments (17)

tsutterley avatar tsutterley commented on June 3, 2024 1

Ok, great to know! I'll figure it out tomorrow and will let you know when I have a fix.

from pytmd.

Mohammad-Mardini avatar Mohammad-Mardini commented on June 3, 2024 1

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.

tsutterley avatar tsutterley commented on June 3, 2024 1

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.

Mohammad-Mardini avatar Mohammad-Mardini commented on June 3, 2024 1

Thank you Tyler. It is working now. If you don't mind I will close this issue!

from pytmd.

tsutterley avatar tsutterley commented on June 3, 2024 1

Glad we got everything sorted out! Let me know if you need anything :)

from pytmd.

tsutterley avatar tsutterley commented on June 3, 2024

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.

Mohammad-Mardini avatar Mohammad-Mardini commented on June 3, 2024

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.

Screen Shot 2023-05-22 at 7 30 16 AM

from pytmd.

tsutterley avatar tsutterley commented on June 3, 2024

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.

Mohammad-Mardini avatar Mohammad-Mardini commented on June 3, 2024

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

Screenshot 2023-05-22 at 9 04 37 AM

from pytmd.

tsutterley avatar tsutterley commented on June 3, 2024

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.

Mohammad-Mardini avatar Mohammad-Mardini commented on June 3, 2024

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.

tsutterley avatar tsutterley commented on June 3, 2024

Try running the program again?

from pytmd.

tsutterley avatar tsutterley commented on June 3, 2024

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.

Mohammad-Mardini avatar Mohammad-Mardini commented on June 3, 2024

I see! 🤞🤞 for good news soon!

from pytmd.

Mohammad-Mardini avatar Mohammad-Mardini commented on June 3, 2024

Unfortunately, it broke with a timeout error message :(

from pytmd.

Mohammad-Mardini avatar Mohammad-Mardini commented on June 3, 2024

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.

tsutterley avatar tsutterley commented on June 3, 2024

Sure. Uploading here. https://drive.google.com/drive/folders/1LVMMtqHb5AIBOivDnbxe7NM4Hi22-fDo

from pytmd.

Related Issues (20)

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.