ccht-ncsu / Kalpana

Visualization of ADCIRC Model Data in Vector Formats
GNU General Public License v3.0
26 stars 22 forks source link

indentation issues #30

Closed chnadrasekharprabhakar closed 1 year ago

chnadrasekharprabhakar commented 3 years ago

Hi, I am a student trying to explore the Kalpana. I have downloaded it from git. But looks to me like it has a lot of indentation issues while trying on hands-on with sample data provided. could you please provide the file (kalpana.py) with the proper formatting?

Thank you.

carucker commented 3 years ago

Hello,

Are you opening the code in a Linux environment? Other operating systems have a different number of spaces associated with tab (/t), so this is likely the cause of your indentation issues.

If you are using Kalpana for downscaling, I would suggest using a Linux environment because the downscaling portion of the code was developed for Linux and will otherwise fail in several areas. If you are not downscaling, indentation issues will exist in parts of the code that are not being run and shouldn't raise an error.

Carter A. Rucker, EI Coastal Engineer - Water Resources Section Wilmington District U.S. Army Corps of Engineers 69 Darlington Ave. Wilmington, NC 28403 O: 910-251-4799 C: 919-605-0221

On Tue, Jun 1, 2021 at 2:29 AM chnadrasekharprabhakar < @.***> wrote:

Hi, I am a student trying to explore the Kalpana. I have downloaded it from git. But looks to me like it has a lot of indentation issues while trying on hands-on with sample data provided. could you please provide the file with the proper format?

Thank you.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ccht-ncsu/Kalpana/issues/30, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALEXEA432WZYODUAYNPAG73TQR45BANCNFSM4537NZEQ .

msw09090 commented 1 year ago

Hello,

I still have this problem too (Linus - CentOS).

I used Kalpana.py from here (which worked... for the most part): https://github.com/Jiangchao3/Kalpana/tree/V0.1

tomas19 commented 1 year ago

Hi, we are currently doing some changes to Kalpana. You can find a few examples in the scripts folder, I'll upload a new example of how to use the downscaling capabilities later today. Please let me know how it goes!

Tomás