Closed jkansong closed 3 years ago
Quick question. Did you specify you are using monthly data in configM2R.py? T
On 13 November 2020 at 21:08:43, Joseph Ansong (notifications@github.com) wrote:
Hi, I've made some headway with testing model2roms using GLORYS data, but it appears the script for making the climatology file is missing. Could you please check. The climatology file needed to make the boundary file wasn't created; as indicated by the error message at the end.
=> Conversions run from year/month: 2015/1 to 2015/3 ==> The following variables will be interpolated: ['temperature', 'salinity', 'ssh', 'uvel', 'vvel', 'uice', 'vice', 'aice', 'hice'] =>All horisontal interpolations will be done using ESMF-ESMPy (module ESMF) =>Output files are written in format: NETCDF4
=>Output grid file is: /home/jkansong/roms/Projects/Ghana4th/input/ roms_grd.nc Starting logfile for ESMF Creating init for grid object GH1 ---> Initialized GRD object for grid type ROMS
GRD file : opennetcdf opened file /home/jkansong/roms/Projects/Ghana4th/input/roms_grd.nc --->Setting up vertical coordinates using self.vtransform: 2 self.vstretching: 2 Creating init for grid object GH1 ---> Initialized GRD object for grid type FORCINGDATA GRD file : opennetcdf opened file /home/jkansong/roms/DATASETS/GLORYS/ global-reanalysis-phy-001-030-monthly_1605289411889.nc ---> Assuming regular grid type for FORCINGDATA ---> Using dimension names longitude and latitude and depth =>Creating the interpolation weights and indexes using ESMF (this may take some time....): -> regridSrc2Dst at RHO points -> regridSrc2Dst at U points to RHO -> regridSrc2Dst at V points to RHO ==> Initializing done
==> Starting loop over time days [] days [] days [] Traceback (most recent call last): File "/home/jkansong/model2roms/runM2R.py", line 46, in run() File "/home/jkansong/model2roms/runM2R.py", line 31, in run clim2bry.writebry(confM2R) File "/home/jkansong/model2roms/clim2bry.py", line 55, in writebry clim = Dataset(confM2R.clim_name, 'r') File "netCDF4/_netCDF4.pyx", line 2358, in netCDF4._netCDF4.Dataset.init File "netCDF4/_netCDF4.pyx", line 1926, in netCDF4._netCDF4._ensure_nc_success FileNotFoundError: [Errno 2] No such file or directory: b'gh1_clim_GLORYS_20150115_to_20150331.nc'
Thanks.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/trondkr/model2roms/issues/10, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA32XA5SXIRKNX7H4XTN5OTSPYGFXANCNFSM4TVKQFCQ .
Yes, I did
# Frequency of the input data: usually monthly
self.timefrequencyofinputdata = "monthly" # , "month", "hour",
"5days"
On Sat, Nov 14, 2020 at 5:25 AM Trond Kristiansen notifications@github.com wrote:
Quick question. Did you specify you are using monthly data in configM2R.py? T
On 13 November 2020 at 21:08:43, Joseph Ansong (notifications@github.com) wrote:
Hi, I've made some headway with testing model2roms using GLORYS data, but it appears the script for making the climatology file is missing. Could you please check. The climatology file needed to make the boundary file wasn't created; as indicated by the error message at the end.
=> Conversions run from year/month: 2015/1 to 2015/3 ==> The following variables will be interpolated: ['temperature', 'salinity', 'ssh', 'uvel', 'vvel', 'uice', 'vice', 'aice', 'hice'] =>All horisontal interpolations will be done using ESMF-ESMPy (module ESMF) =>Output files are written in format: NETCDF4
=>Output grid file is: /home/jkansong/roms/Projects/Ghana4th/input/ roms_grd.nc Starting logfile for ESMF Creating init for grid object GH1 ---> Initialized GRD object for grid type ROMS
GRD file : opennetcdf opened file /home/jkansong/roms/Projects/Ghana4th/input/roms_grd.nc --->Setting up vertical coordinates using self.vtransform: 2 self.vstretching: 2 Creating init for grid object GH1 ---> Initialized GRD object for grid type FORCINGDATA GRD file : opennetcdf opened file /home/jkansong/roms/DATASETS/GLORYS/ global-reanalysis-phy-001-030-monthly_1605289411889.nc ---> Assuming regular grid type for FORCINGDATA ---> Using dimension names longitude and latitude and depth =>Creating the interpolation weights and indexes using ESMF (this may take some time....): -> regridSrc2Dst at RHO points -> regridSrc2Dst at U points to RHO -> regridSrc2Dst at V points to RHO ==> Initializing done
==> Starting loop over time days [] days [] days [] Traceback (most recent call last): File "/home/jkansong/model2roms/runM2R.py", line 46, in run() File "/home/jkansong/model2roms/runM2R.py", line 31, in run clim2bry.writebry(confM2R) File "/home/jkansong/model2roms/clim2bry.py", line 55, in writebry clim = Dataset(confM2R.clim_name, 'r') File "netCDF4/_netCDF4.pyx", line 2358, in netCDF4._netCDF4.Dataset.init File "netCDF4/_netCDF4.pyx", line 1926, in netCDF4._netCDF4._ensure_nc_success FileNotFoundError: [Errno 2] No such file or directory: b'gh1_clim_GLORYS_20150115_to_20150331.nc'
Thanks.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/trondkr/model2roms/issues/10, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AA32XA5SXIRKNX7H4XTN5OTSPYGFXANCNFSM4TVKQFCQ
.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/trondkr/model2roms/issues/10#issuecomment-727148087, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABX7MWZGBT3UXLU35653I53SPYIFNANCNFSM4TVKQFCQ .
-- Joseph K. Ansong, PhD Assist. Research Scientist, University of Michigan, Department of Earth & Environmental Sciences, 2534 C.C. Little Building, 1100 North University Avenue, Ann Arbor, MI 48109 USA
That’s strange. Could you verify that your forcing file contains data for January to March 2015? If correct please send me a link to your grid the forcing file and I’ll take a look Monday morning. T
On Fri, 13 Nov 2020 at 21:08, Joseph Ansong notifications@github.com wrote:
Hi, I've made some headway with testing model2roms using GLORYS data, but it appears the script for making the climatology file is missing. Could you please check. The climatology file needed to make the boundary file wasn't created; as indicated by the error message at the end.
=> Conversions run from year/month: 2015/1 to 2015/3 ==> The following variables will be interpolated: ['temperature', 'salinity', 'ssh', 'uvel', 'vvel', 'uice', 'vice', 'aice', 'hice'] =>All horisontal interpolations will be done using ESMF-ESMPy (module ESMF) =>Output files are written in format: NETCDF4
=>Output grid file is: /home/jkansong/roms/Projects/Ghana4th/input/ roms_grd.nc Starting logfile for ESMF Creating init for grid object GH1 ---> Initialized GRD object for grid type ROMS
GRD file : opennetcdf opened file /home/jkansong/roms/Projects/Ghana4th/input/roms_grd.nc --->Setting up vertical coordinates using self.vtransform: 2 self.vstretching: 2 Creating init for grid object GH1 ---> Initialized GRD object for grid type FORCINGDATA GRD file : opennetcdf opened file /home/jkansong/roms/DATASETS/GLORYS/ global-reanalysis-phy-001-030-monthly_1605289411889.nc ---> Assuming regular grid type for FORCINGDATA ---> Using dimension names longitude and latitude and depth =>Creating the interpolation weights and indexes using ESMF (this may take some time....): -> regridSrc2Dst at RHO points -> regridSrc2Dst at U points to RHO -> regridSrc2Dst at V points to RHO ==> Initializing done
==> Starting loop over time days [] days [] days [] Traceback (most recent call last): File "/home/jkansong/model2roms/runM2R.py", line 46, in run() File "/home/jkansong/model2roms/runM2R.py", line 31, in run clim2bry.writebry(confM2R) File "/home/jkansong/model2roms/clim2bry.py", line 55, in writebry clim = Dataset(confM2R.clim_name, 'r') File "netCDF4/_netCDF4.pyx", line 2358, in netCDF4._netCDF4.Dataset.init File "netCDF4/_netCDF4.pyx", line 1926, in netCDF4._netCDF4._ensure_nc_success FileNotFoundError: [Errno 2] No such file or directory: b'gh1_clim_GLORYS_20150115_to_20150331.nc'
Thanks.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/trondkr/model2roms/issues/10, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA32XA5SXIRKNX7H4XTN5OTSPYGFXANCNFSM4TVKQFCQ .
I've checked. The forcing file has data for all twelve months of 2015. Here's the link to the data; I've also shared my configM2R.py and forcingFilenames.py with you. Cheers!
https://drive.google.com/drive/folders/1WKVqSrsjJOhcIfnM1JxAqEmRGEWze8dQ?usp=sharing
-Joseph
On Sat, Nov 14, 2020 at 5:35 AM Trond Kristiansen notifications@github.com wrote:
That’s strange. Could you verify that your forcing file contains data for January to March 2015? If correct please send me a link to your grid the forcing file and I’ll take a look Monday morning. T
On Fri, 13 Nov 2020 at 21:08, Joseph Ansong notifications@github.com wrote:
Hi, I've made some headway with testing model2roms using GLORYS data, but it appears the script for making the climatology file is missing. Could you please check. The climatology file needed to make the boundary file wasn't created; as indicated by the error message at the end.
=> Conversions run from year/month: 2015/1 to 2015/3 ==> The following variables will be interpolated: ['temperature', 'salinity', 'ssh', 'uvel', 'vvel', 'uice', 'vice', 'aice', 'hice'] =>All horisontal interpolations will be done using ESMF-ESMPy (module ESMF) =>Output files are written in format: NETCDF4
=>Output grid file is: /home/jkansong/roms/Projects/Ghana4th/input/ roms_grd.nc Starting logfile for ESMF Creating init for grid object GH1 ---> Initialized GRD object for grid type ROMS
GRD file : opennetcdf opened file /home/jkansong/roms/Projects/Ghana4th/input/roms_grd.nc --->Setting up vertical coordinates using self.vtransform: 2 self.vstretching: 2 Creating init for grid object GH1 ---> Initialized GRD object for grid type FORCINGDATA GRD file : opennetcdf opened file /home/jkansong/roms/DATASETS/GLORYS/ global-reanalysis-phy-001-030-monthly_1605289411889.nc ---> Assuming regular grid type for FORCINGDATA ---> Using dimension names longitude and latitude and depth =>Creating the interpolation weights and indexes using ESMF (this may take some time....): -> regridSrc2Dst at RHO points -> regridSrc2Dst at U points to RHO -> regridSrc2Dst at V points to RHO ==> Initializing done
==> Starting loop over time days [] days [] days [] Traceback (most recent call last): File "/home/jkansong/model2roms/runM2R.py", line 46, in run() File "/home/jkansong/model2roms/runM2R.py", line 31, in run clim2bry.writebry(confM2R) File "/home/jkansong/model2roms/clim2bry.py", line 55, in writebry clim = Dataset(confM2R.clim_name, 'r') File "netCDF4/_netCDF4.pyx", line 2358, in netCDF4._netCDF4.Dataset.init File "netCDF4/_netCDF4.pyx", line 1926, in netCDF4._netCDF4._ensure_nc_success FileNotFoundError: [Errno 2] No such file or directory: b'gh1_clim_GLORYS_20150115_to_20150331.nc'
Thanks.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/trondkr/model2roms/issues/10, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AA32XA5SXIRKNX7H4XTN5OTSPYGFXANCNFSM4TVKQFCQ
.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/trondkr/model2roms/issues/10#issuecomment-727148859, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABX7MWZDTE22YV45VIS3HJTSPYJJXANCNFSM4TVKQFCQ .
-- Joseph K. Ansong, PhD Assist. Research Scientist, University of Michigan, Department of Earth & Environmental Sciences, 2534 C.C. Little Building, 1100 North University Avenue, Ann Arbor, MI 48109 USA
Hi,
Sorry for not getting back to you. Did you get this to work correctly? T.
På 14. november 2020 kl. 06:24:15, Joseph Ansong (notifications@github.com) skrev:
I've checked. The forcing file has data for all twelve months of 2015. Here's the link to the data; I've also shared my configM2R.py and forcingFilenames.py with you. Cheers!
https://drive.google.com/drive/folders/1WKVqSrsjJOhcIfnM1JxAqEmRGEWze8dQ?usp=sharing
-Joseph
On Sat, Nov 14, 2020 at 5:35 AM Trond Kristiansen notifications@github.com wrote:
That’s strange. Could you verify that your forcing file contains data for January to March 2015? If correct please send me a link to your grid the forcing file and I’ll take a look Monday morning. T
On Fri, 13 Nov 2020 at 21:08, Joseph Ansong notifications@github.com wrote:
Hi, I've made some headway with testing model2roms using GLORYS data, but it appears the script for making the climatology file is missing. Could you please check. The climatology file needed to make the boundary file wasn't created; as indicated by the error message at the end.
=> Conversions run from year/month: 2015/1 to 2015/3 ==> The following variables will be interpolated: ['temperature', 'salinity', 'ssh', 'uvel', 'vvel', 'uice', 'vice', 'aice', 'hice'] =>All horisontal interpolations will be done using ESMF-ESMPy (module ESMF) =>Output files are written in format: NETCDF4
=>Output grid file is: /home/jkansong/roms/Projects/Ghana4th/input/ roms_grd.nc Starting logfile for ESMF Creating init for grid object GH1 ---> Initialized GRD object for grid type ROMS
GRD file : opennetcdf opened file /home/jkansong/roms/Projects/Ghana4th/input/roms_grd.nc --->Setting up vertical coordinates using self.vtransform: 2 self.vstretching: 2 Creating init for grid object GH1 ---> Initialized GRD object for grid type FORCINGDATA GRD file : opennetcdf opened file /home/jkansong/roms/DATASETS/GLORYS/ global-reanalysis-phy-001-030-monthly_1605289411889.nc ---> Assuming regular grid type for FORCINGDATA ---> Using dimension names longitude and latitude and depth =>Creating the interpolation weights and indexes using ESMF (this may take some time....): -> regridSrc2Dst at RHO points -> regridSrc2Dst at U points to RHO -> regridSrc2Dst at V points to RHO ==> Initializing done
==> Starting loop over time days [] days [] days [] Traceback (most recent call last): File "/home/jkansong/model2roms/runM2R.py", line 46, in run() File "/home/jkansong/model2roms/runM2R.py", line 31, in run clim2bry.writebry(confM2R) File "/home/jkansong/model2roms/clim2bry.py", line 55, in writebry clim = Dataset(confM2R.clim_name, 'r') File "netCDF4/_netCDF4.pyx", line 2358, in netCDF4._netCDF4.Dataset.init File "netCDF4/_netCDF4.pyx", line 1926, in netCDF4._netCDF4._ensure_nc_success FileNotFoundError: [Errno 2] No such file or directory: b'gh1_clim_GLORYS_20150115_to_20150331.nc'
Thanks.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/trondkr/model2roms/issues/10, or unsubscribe <
https://github.com/notifications/unsubscribe-auth/AA32XA5SXIRKNX7H4XTN5OTSPYGFXANCNFSM4TVKQFCQ
.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/trondkr/model2roms/issues/10#issuecomment-727148859, or unsubscribe < https://github.com/notifications/unsubscribe-auth/ABX7MWZDTE22YV45VIS3HJTSPYJJXANCNFSM4TVKQFCQ
.
-- Joseph K. Ansong, PhD Assist. Research Scientist, University of Michigan, Department of Earth & Environmental Sciences, 2534 C.C. Little Building, 1100 North University Avenue, Ann Arbor, MI 48109 USA
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/trondkr/model2roms/issues/10#issuecomment-727214417, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA32XAZWBF7CARLVZOEZTMTSP2HI7ANCNFSM4TVKQFCQ .
Hi,
No I couldn't. I haven't looked at it in a while; I was hoping to hear back from you. Cheers.
Joseph
On Friday, December 4, 2020, Trond Kristiansen notifications@github.com wrote:
Hi,
Sorry for not getting back to you. Did you get this to work correctly? T.
På 14. november 2020 kl. 06:24:15, Joseph Ansong (notifications@github.com ) skrev:
I've checked. The forcing file has data for all twelve months of 2015. Here's the link to the data; I've also shared my configM2R.py and forcingFilenames.py with you. Cheers!
https://drive.google.com/drive/folders/1WKVqSrsjJOhcIfnM1JxAqEmRGEWze 8dQ?usp=sharing
-Joseph
On Sat, Nov 14, 2020 at 5:35 AM Trond Kristiansen < notifications@github.com> wrote:
That’s strange. Could you verify that your forcing file contains data for January to March 2015? If correct please send me a link to your grid the forcing file and I’ll take a look Monday morning. T
On Fri, 13 Nov 2020 at 21:08, Joseph Ansong notifications@github.com wrote:
Hi, I've made some headway with testing model2roms using GLORYS data, but it appears the script for making the climatology file is missing. Could you please check. The climatology file needed to make the boundary file wasn't created; as indicated by the error message at the end.
=> Conversions run from year/month: 2015/1 to 2015/3 ==> The following variables will be interpolated: ['temperature', 'salinity', 'ssh', 'uvel', 'vvel', 'uice', 'vice', 'aice', 'hice'] =>All horisontal interpolations will be done using ESMF-ESMPy (module ESMF) =>Output files are written in format: NETCDF4
=>Output grid file is: /home/jkansong/roms/Projects/Ghana4th/input/ roms_grd.nc Starting logfile for ESMF Creating init for grid object GH1 ---> Initialized GRD object for grid type ROMS
GRD file : opennetcdf opened file /home/jkansong/roms/Projects/Ghana4th/input/roms_grd.nc --->Setting up vertical coordinates using self.vtransform: 2 self.vstretching: 2 Creating init for grid object GH1 ---> Initialized GRD object for grid type FORCINGDATA GRD file : opennetcdf opened file /home/jkansong/roms/DATASETS/GLORYS/ global-reanalysis-phy-001-030-monthly_1605289411889.nc ---> Assuming regular grid type for FORCINGDATA ---> Using dimension names longitude and latitude and depth =>Creating the interpolation weights and indexes using ESMF (this may take some time....): -> regridSrc2Dst at RHO points -> regridSrc2Dst at U points to RHO -> regridSrc2Dst at V points to RHO ==> Initializing done
==> Starting loop over time days [] days [] days [] Traceback (most recent call last): File "/home/jkansong/model2roms/runM2R.py", line 46, in run() File "/home/jkansong/model2roms/runM2R.py", line 31, in run clim2bry.writebry(confM2R) File "/home/jkansong/model2roms/clim2bry.py", line 55, in writebry clim = Dataset(confM2R.clim_name, 'r') File "netCDF4/_netCDF4.pyx", line 2358, in netCDF4._netCDF4.Dataset.init File "netCDF4/_netCDF4.pyx", line 1926, in netCDF4._netCDF4._ensure_nc_success FileNotFoundError: [Errno 2] No such file or directory: b'gh1_clim_GLORYS_20150115_to_20150331.nc'
Thanks.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/trondkr/model2roms/issues/10, or unsubscribe <
https://github.com/notifications/unsubscribe-auth/ AA32XA5SXIRKNX7H4XTN5OTSPYGFXANCNFSM4TVKQFCQ
.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <https://github.com/trondkr/model2roms/issues/10#issuecomment-727148859 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/ ABX7MWZDTE22YV45VIS3HJTSPYJJXANCNFSM4TVKQFCQ
.
-- Joseph K. Ansong, PhD Assist. Research Scientist, University of Michigan, Department of Earth & Environmental Sciences, 2534 C.C. Little Building, 1100 North University Avenue, https://www.google.com/maps/search/1100+North+University+Avenue,+%0D%0D%0AAnn+Arbor,+MI+48109+%0D%0D%0AUSA?entry=gmail&source=g Ann Arbor, MI 48109 USA
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/trondkr/model2roms/issues/10#issuecomment-727214417, or unsubscribe https://github.com/notifications/unsubscribe-auth/ AA32XAZWBF7CARLVZOEZTMTSP2HI7ANCNFSM4TVKQFCQ .
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/trondkr/model2roms/issues/10#issuecomment-738821352, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABX7MW3JUYQ6SCDQ6NHRUM3STDYOTANCNFSM4TVKQFCQ .
-- Joseph K. Ansong, PhD Assist. Research Scientist, University of Michigan, Department of Earth & Environmental Sciences, 2534 C.C. Little Building, 1100 North University Avenue, Ann Arbor, MI 48109 USA
I am closing this issue but if it still valid please feel free to re-open with a detailed issue report.
Hi, I've made some headway with testing model2roms using GLORYS data, but it appears the script for making the climatology file is missing. Could you please check. The climatology file needed to make the boundary file wasn't created; as indicated by the error message at the end.
=> Conversions run from year/month: 2015/1 to 2015/3 ==> The following variables will be interpolated: ['temperature', 'salinity', 'ssh', 'uvel', 'vvel', 'uice', 'vice', 'aice', 'hice'] =>All horisontal interpolations will be done using ESMF-ESMPy (module ESMF) =>Output files are written in format: NETCDF4
=>Output grid file is: /home/jkansong/roms/Projects/Ghana4th/input/roms_grd.nc Starting logfile for ESMF Creating init for grid object GH1 ---> Initialized GRD object for grid type ROMS
GRD file : opennetcdf opened file /home/jkansong/roms/Projects/Ghana4th/input/roms_grd.nc --->Setting up vertical coordinates using self.vtransform: 2 self.vstretching: 2 Creating init for grid object GH1 ---> Initialized GRD object for grid type FORCINGDATA
GRD file : opennetcdf opened file /home/jkansong/roms/DATASETS/GLORYS/global-reanalysis-phy-001-030-monthly_1605289411889.nc ---> Assuming regular grid type for FORCINGDATA ---> Using dimension names longitude and latitude and depth =>Creating the interpolation weights and indexes using ESMF (this may take some time....): -> regridSrc2Dst at RHO points -> regridSrc2Dst at U points to RHO -> regridSrc2Dst at V points to RHO ==> Initializing done
==> Starting loop over time days [] days [] days [] Traceback (most recent call last): File "/home/jkansong/model2roms/runM2R.py", line 46, in
run()
File "/home/jkansong/model2roms/runM2R.py", line 31, in run
clim2bry.writebry(confM2R)
File "/home/jkansong/model2roms/clim2bry.py", line 55, in writebry
clim = Dataset(confM2R.clim_name, 'r')
File "netCDF4/_netCDF4.pyx", line 2358, in netCDF4._netCDF4.Dataset.init
File "netCDF4/_netCDF4.pyx", line 1926, in netCDF4._netCDF4._ensure_nc_success
FileNotFoundError: [Errno 2] No such file or directory: b'gh1_clim_GLORYS_20150115_to_20150331.nc'
Thanks.