discharge.nc not working in my Mac Air M1. #49
-
Hello team, This is me Prabhat Banjara working on mhm from Nepal. I am finding corrupt file only on discharge.nc other .nc files on output can be opened using Panoply. How can i solve this problem? |
Beta Was this translation helpful? Give feedback.
Replies: 17 comments 19 replies
-
Interesting problem. Could you perhaps share some screenshots of the error you get (e.g. with a |
Beta Was this translation helpful? Give feedback.
-
Interesting that the -Fluxes_States.nc files behave properly but somehow the discharge.nc has odd behaviour. There was a similar case in #46 where the OS was Windows 11. @MuellerSeb there are two identical issues now from two different OS. Would it make sense to check (or improve) how discharge.nc is stored in the source code? Or could this be attributed to particular version of the compiler? |
Beta Was this translation helpful? Give feedback.
-
[image: Screen Shot 2022-03-03 at 5.21.01 PM.png]
…On Thu, 3 Mar 2022 at 15:48, StephanThober ***@***.***> wrote:
Hi @pallavhydro <https://github.com/pallavhydro> ,
yes, the issue seems to be specific to discharge.nc.
@prabhatbanjara <https://github.com/prabhatbanjara> : could you provide
the discharge.nc here so we could double check? Could you also try to
open the file with ncview and share the error message, that you get.
Thanks,
Stephan
—
Reply to this email directly, view it on GitHub
<#49 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AXV2QRSDFQ3CAER5LL3LGZLU6CE65ANCNFSM5N5GCZZQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
With Best Regards
*Er. Prabhat Banjara*
9863033194
Water Resource Engineer
|
Beta Was this translation helpful? Give feedback.
-
hlo sir, I am sharing both discharge.nc file and screenshot of the error
message here sir
On Thu, 3 Mar 2022 at 15:48, StephanThober ***@***.***> wrote:
Hi @pallavhydro <https://github.com/pallavhydro> ,
yes, the issue seems to be specific to discharge.nc.
@prabhatbanjara <https://github.com/prabhatbanjara> : could you provide
the discharge.nc here so we could double check? Could you also try to
open the file with ncview and share the error message, that you get.
Thanks,
Stephan
—
Reply to this email directly, view it on GitHub
<#49 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AXV2QRSDFQ3CAER5LL3LGZLU6CE65ANCNFSM5N5GCZZQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
[image: Screen Shot 2022-03-03 at 5.21.01 PM.png]
…--
With Best Regards
*Er. Prabhat Banjara*
9863033194
Water Resource Engineer
|
Beta Was this translation helpful? Give feedback.
-
Unfortunately I dont see the image and also not the file. Could you append these files to your message so we can download them? |
Beta Was this translation helpful? Give feedback.
-
Hlo sir, I am not able to upload .nc file here how can i share it as when i try to drag and drop .nc file this message appeared sir. |
Beta Was this translation helpful? Give feedback.
-
I confirm that the file is broken. Apparently, the time dimension was created, but something went wrong in the creation of the variable. Could you share with us your mhm.nml and the log file? |
Beta Was this translation helpful? Give feedback.
-
mrm_outputs.nml.zip |
Beta Was this translation helpful? Give feedback.
-
mRM_Fluxes_States.nc.zip |
Beta Was this translation helpful? Give feedback.
-
@prabhatbanjara : sorry for the slow replies here. I still would like to understand what is going on. The way this netcdf file is written is actually different than the other netcdf files and using sort of outdated routines. This might explain why this file is not written correctly while the other are. Additionally, this file is sort of redundant because there is the text file daily_discharge.out that contains the same information. Could you please let me know whether this text file is written correctly. Thanks.= |
Beta Was this translation helpful? Give feedback.
-
Hlo mHM team. I am working in mHM model from Nepal and i got the problem
which I am sharing here in screenshot below. It is stating mHM generated x
and y are not matching. How can i deal with this problem?
[image: Screen Shot 2022-05-23 at 9.34.37 PM.png]
…On Tue, 22 Mar 2022 at 16:00, StephanThober ***@***.***> wrote:
For the time being, I would suggest you to work with the text file. We
will need to update the output writing routine, but this might take some
time. I created an issue for this in our git repo. Please note that other
users reported that the problem was solved by reinstalling mHM #46
<#46> . I hope this is fine for
you.
—
Reply to this email directly, view it on GitHub
<#49 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AXV2QRUZDUXYXNMBD3WMRH3VBGMSRANCNFSM5N5GCZZQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
With Best Regards
*Er. Prabhat Banjara*
9863033194
Water Resource Engineer
|
Beta Was this translation helpful? Give feedback.
-
For_dudhkoshi_after_mask_noerror _after_final_p...
<https://drive.google.com/file/d/1gLfuyQ95XY0dJDF4aj1wNRkr26UGZIkd/view?usp=drive_web>
This is the setup for Nepal basin and i wanted to run mhm for this
setup and the problem was as stated earlier.
…On Tue, 24 May 2022 at 13:05, StephanThober ***@***.***> wrote:
Dear @prabhatbanjara <https://github.com/prabhatbanjara> , I cannot see
the screenshot. The error message is not that informative, but it occurs
when the x and y dimensions of a variable that is read from a netcdf file
is not matching what mHM expects based on the dem and the provide
hydrology_resolution. It can occur for different input files and it should
be visible from the stdout which file it is. Could you please share the
stdout of mHM?
—
Reply to this email directly, view it on GitHub
<#49 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AXV2QRW6IHA2ZL2TAK53V7DVLR7NTANCNFSM5N5GCZZQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
With Best Regards
*Er. Prabhat Banjara*
9863033194
Water Resource Engineer
|
Beta Was this translation helpful? Give feedback.
-
For_dudhkoshi_after_mask_noerror _after_final_p...
<https://drive.google.com/file/d/1mDAA3R_JRAJ73DayRXn197DKjGA6V12q/view?usp=drive_web>
sir here is the whole setup for a basin Dudhkoshi having control input all
files
…On Tue, 24 May 2022 at 15:53, Pallav Kumar Shrestha < ***@***.***> wrote:
@prabhatbanjara <https://github.com/prabhatbanjara>
Could you please share
1. header.txt file that you are using in your meter folder here
2. And also the screenshot of cdo sinfon pre.nc | head
We need to check whether these two are saying same or different things to
mHM.
—
Reply to this email directly, view it on GitHub
<#49 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AXV2QRSR5SKDRGFNXAUU3V3VLSTAZANCNFSM5N5GCZZQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
With Best Regards
*Er. Prabhat Banjara*
9863033194
Water Resource Engineer
|
Beta Was this translation helpful? Give feedback.
-
If I am not wrong, your As per @StephanThober 's guess, your header.txt (256 x 224) is not matching meteo netcdf files (16 x 14). Also, the cellsize is not correct. Please update the header.txt as follows -
Let us know if it works for you. |
Beta Was this translation helpful? Give feedback.
-
Will be solved in the next release: |
Beta Was this translation helpful? Give feedback.
-
This has been solved in the latest release of mHM. Re-install of mHM should solve it :-) |
Beta Was this translation helpful? Give feedback.
@prabhatbanjara : sorry for the slow replies here. I still would like to understand what is going on. The way this netcdf file is written is actually different than the other netcdf files and using sort of outdated routines. This might explain why this file is not written correctly while the other are. Additionally, this file is sort of redundant because there is the text file daily_discharge.out that contains the same information. Could you please let me know whether this text file is written correctly. Thanks.=