--
You received this message because you are subscribed to a topic in the Google Groups "MPAS-Atmosphere Help" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mpas-atmosphere-help/m0d8R2iwKok/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mpas-atmosphere-...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi MichealI can confirm that I have write privileges on the directory and there is no existing latlon.nc file in the directory. I initially thought that was the issue but I am not sure now. Any advice ?Kind RegardsLinda
On Tue, Sep 4, 2018 at 11:40 PM MPAS-Atmosphere Help <mpas-atmosphere-help@googlegroups.com> wrote:
--Hi, Linda.There could be a couple of reasons why the convert_mpas program is unable to open the output file. Can you verify that you are running convert_mpas from a directory that is writable by you? Also, can you check whether there is an existing 'latlon.nc' file for which you may not have write permissions?Kind regards,Michael
On Sunday, September 2, 2018 at 2:07:25 PM UTC-6, Molulaqhooa Maoyi wrote:Greetings,I am trying to run the convert_mpas code and there is an issue with creating the output file (see below). Can anyone suggest what the issue mightbe../convert_mpas x1.10242.init.nc history.1979-01-01_06.00.00.ncReading MPAS mesh information from file 'x1.10242.init.nc'
Target domain specification file 'target_domain' not found.
Default 0.5-degree global target domain will be used.
Computing remapping weights
Time to compute remap weights: 4.600999 s
Error: Problems opening output file
5Kind RegardsLinda
You received this message because you are subscribed to a topic in the Google Groups "MPAS-Atmosphere Help" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mpas-atmosphere-help/m0d8R2iwKok/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mpas-atmosphere-help+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi, Linda.That's curious. The problem seems to be originating from the file_output_open(...) function defined in file_output.F. If the 'atlon.nc' file doesn't already exist, there are really only two things that happen in this function: (1) we try to create a new 'latlon.nc' file, and (2) we try to define a netCDF unlimited dimension in that file. I've attached a small test program that captures the essential netCDF library calls from the file_output_open(...) function. Can you try compiling the attached with, e.g.,gfortran -O2 -ffree-form -Wall open_test.F `nc-config --fflags` `nc-config --flibs`This compilation command should replicate what is done in the convert_mpas build, assuming you have no local modifications to any of the Makefiles. If you're able to get a "Success" message from the test program, then the problem would seem to be specific to convert_mpas; otherwise, there may be a problem with your netCDF library, shell environment, or something else.Best regards,Michael
On Wednesday, September 5, 2018 at 6:50:29 AM UTC-6, Molulaqhooa Maoyi wrote:
Hi MichealI can confirm that I have write privileges on the directory and there is no existing latlon.nc file in the directory. I initially thought that was the issue but I am not sure now. Any advice ?Kind RegardsLinda
On Tue, Sep 4, 2018 at 11:40 PM MPAS-Atmosphere Help <mpas-atmos...@googlegroups.com> wrote:
--Hi, Linda.There could be a couple of reasons why the convert_mpas program is unable to open the output file. Can you verify that you are running convert_mpas from a directory that is writable by you? Also, can you check whether there is an existing 'latlon.nc' file for which you may not have write permissions?Kind regards,Michael
On Sunday, September 2, 2018 at 2:07:25 PM UTC-6, Molulaqhooa Maoyi wrote:Greetings,I am trying to run the convert_mpas code and there is an issue with creating the output file (see below). Can anyone suggest what the issue mightbe../convert_mpas x1.10242.init.nc history.1979-01-01_06.00.00.ncReading MPAS mesh information from file 'x1.10242.init.nc'
Target domain specification file 'target_domain' not found.
Default 0.5-degree global target domain will be used.
Computing remapping weights
Time to compute remap weights: 4.600999 s
Error: Problems opening output file
5Kind RegardsLinda
You received this message because you are subscribed to a topic in the Google Groups "MPAS-Atmosphere Help" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mpas-atmosphere-help/m0d8R2iwKok/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mpas-atmosphere-...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--"Try and Fail than to Fail to Try" - Israel Maoyi
--
You received this message because you are subscribed to a topic in the Google Groups "MPAS-Atmosphere Help" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mpas-atmosphere-help/m0d8R2iwKok/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mpas-atmosphere-...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.