├── .github └── workflows │ └── python-publish.yml ├── .gitignore ├── .old ├── 2dm2gr3.pl ├── DPackage.py ├── Gen_Hycom_3Dth_old.py ├── Gen_hotstart_hycom.py ├── Interp_hotstart.f90 ├── convert_matfile_format.py ├── date_proc.py ├── gen_bctides.py ├── gen_hycom_3Dth.py ├── gen_hycom_nudge.py ├── get_schism_param.py ├── grd2sms.pl ├── loadz.py ├── mfft.py ├── mpi_test.py ├── netcdf.py ├── pcompute_OLDIO_flux.py ├── pextract_OLDIO_schism_slab.py ├── pextract_OLDIO_schism_xyz.py ├── pextract_schism_slab.py ├── plot_elev_sample.py ├── pylib0.py ├── shpfile.py └── str2num.py ├── LICENSE ├── README.md ├── pylib.py ├── pylib_experimental ├── README.md ├── pylib_experimental │ └── schism_file.py └── setup.py ├── scripts ├── .run.job ├── Ddiff ├── Dparam ├── Harmonic_Analysis │ ├── .gitignore │ ├── compile.py │ ├── nrutil.c │ ├── nrutil.h │ ├── readme.txt │ ├── tidal_analysis.c │ ├── tidal_const.dat │ └── tide_fac_const.npz ├── __init__.py ├── change_ssh_hotstart.py ├── checkrun ├── chmodDir ├── clean_schouts.py ├── cmake_schism ├── cmb_hotstart ├── cmb_icm ├── copyrun ├── copyrun_WF ├── download_AVISO.py ├── download_CMEMS.py ├── download_HFRadar.py ├── download_hycom.py ├── gen_bctides.py ├── gen_dem_contour.py ├── gen_fluxflag.py ├── gen_fluxth_USGS.py ├── gen_hycom_3Dth_nudge.py ├── gen_hycom_hotstart.py ├── gen_narr_sflux.py ├── gen_shapiro.py ├── gen_vqs.py ├── gplot ├── grd2sms ├── hotstart_proc.py ├── make_sflux_links.py ├── make_sflux_subdomain.py ├── pextract_OLDIO_schism_fabm_xyz.py ├── pextract_schism.py ├── pextract_schism_flux.py ├── pextract_schism_slab.py ├── pextract_tidal_harmonics.py ├── pload_dem.py ├── pplot ├── prj.npz ├── proj ├── pschism_output_subset.py ├── run.cmb_hotstart ├── run.cmb_outputs ├── run.levante ├── run.schism ├── run_mpi_template.py ├── schismcheck ├── schismview ├── sflux_template.npz ├── sms2grd ├── subset_outputs_parallel.py └── sync_outputs ├── setup.cfg ├── setup.py ├── src ├── __init__.py ├── mylib.py └── schism_file.py └── tutorial.ipynb /.github/workflows/python-publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/.github/workflows/python-publish.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .* 2 | __pycache__/ 3 | !.gitignore 4 | **/pylib.pyc 5 | *egg-info 6 | build 7 | dist 8 | -------------------------------------------------------------------------------- /.old/2dm2gr3.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/.old/2dm2gr3.pl -------------------------------------------------------------------------------- /.old/DPackage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/.old/DPackage.py -------------------------------------------------------------------------------- /.old/Gen_Hycom_3Dth_old.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/.old/Gen_Hycom_3Dth_old.py -------------------------------------------------------------------------------- /.old/Gen_hotstart_hycom.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/.old/Gen_hotstart_hycom.py -------------------------------------------------------------------------------- /.old/Interp_hotstart.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/.old/Interp_hotstart.f90 -------------------------------------------------------------------------------- /.old/convert_matfile_format.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/.old/convert_matfile_format.py -------------------------------------------------------------------------------- /.old/date_proc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/.old/date_proc.py -------------------------------------------------------------------------------- /.old/gen_bctides.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/.old/gen_bctides.py -------------------------------------------------------------------------------- /.old/gen_hycom_3Dth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/.old/gen_hycom_3Dth.py -------------------------------------------------------------------------------- /.old/gen_hycom_nudge.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/.old/gen_hycom_nudge.py -------------------------------------------------------------------------------- /.old/get_schism_param.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/.old/get_schism_param.py -------------------------------------------------------------------------------- /.old/grd2sms.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/.old/grd2sms.pl -------------------------------------------------------------------------------- /.old/loadz.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/.old/loadz.py -------------------------------------------------------------------------------- /.old/mfft.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/.old/mfft.py -------------------------------------------------------------------------------- /.old/mpi_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/.old/mpi_test.py -------------------------------------------------------------------------------- /.old/netcdf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/.old/netcdf.py -------------------------------------------------------------------------------- /.old/pcompute_OLDIO_flux.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/.old/pcompute_OLDIO_flux.py -------------------------------------------------------------------------------- /.old/pextract_OLDIO_schism_slab.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/.old/pextract_OLDIO_schism_slab.py -------------------------------------------------------------------------------- /.old/pextract_OLDIO_schism_xyz.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/.old/pextract_OLDIO_schism_xyz.py -------------------------------------------------------------------------------- /.old/pextract_schism_slab.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/.old/pextract_schism_slab.py -------------------------------------------------------------------------------- /.old/plot_elev_sample.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/.old/plot_elev_sample.py -------------------------------------------------------------------------------- /.old/pylib0.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/.old/pylib0.py -------------------------------------------------------------------------------- /.old/shpfile.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/.old/shpfile.py -------------------------------------------------------------------------------- /.old/str2num.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/.old/str2num.py -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/README.md -------------------------------------------------------------------------------- /pylib.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/pylib.py -------------------------------------------------------------------------------- /pylib_experimental/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/pylib_experimental/README.md -------------------------------------------------------------------------------- /pylib_experimental/pylib_experimental/schism_file.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/pylib_experimental/pylib_experimental/schism_file.py -------------------------------------------------------------------------------- /pylib_experimental/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/pylib_experimental/setup.py -------------------------------------------------------------------------------- /scripts/.run.job: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/.run.job -------------------------------------------------------------------------------- /scripts/Ddiff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/Ddiff -------------------------------------------------------------------------------- /scripts/Dparam: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/Dparam -------------------------------------------------------------------------------- /scripts/Harmonic_Analysis/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/Harmonic_Analysis/.gitignore -------------------------------------------------------------------------------- /scripts/Harmonic_Analysis/compile.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/Harmonic_Analysis/compile.py -------------------------------------------------------------------------------- /scripts/Harmonic_Analysis/nrutil.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/Harmonic_Analysis/nrutil.c -------------------------------------------------------------------------------- /scripts/Harmonic_Analysis/nrutil.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/Harmonic_Analysis/nrutil.h -------------------------------------------------------------------------------- /scripts/Harmonic_Analysis/readme.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/Harmonic_Analysis/readme.txt -------------------------------------------------------------------------------- /scripts/Harmonic_Analysis/tidal_analysis.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/Harmonic_Analysis/tidal_analysis.c -------------------------------------------------------------------------------- /scripts/Harmonic_Analysis/tidal_const.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/Harmonic_Analysis/tidal_const.dat -------------------------------------------------------------------------------- /scripts/Harmonic_Analysis/tide_fac_const.npz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/Harmonic_Analysis/tide_fac_const.npz -------------------------------------------------------------------------------- /scripts/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /scripts/change_ssh_hotstart.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/change_ssh_hotstart.py -------------------------------------------------------------------------------- /scripts/checkrun: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/checkrun -------------------------------------------------------------------------------- /scripts/chmodDir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/chmodDir -------------------------------------------------------------------------------- /scripts/clean_schouts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/clean_schouts.py -------------------------------------------------------------------------------- /scripts/cmake_schism: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/cmake_schism -------------------------------------------------------------------------------- /scripts/cmb_hotstart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/cmb_hotstart -------------------------------------------------------------------------------- /scripts/cmb_icm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/cmb_icm -------------------------------------------------------------------------------- /scripts/copyrun: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/copyrun -------------------------------------------------------------------------------- /scripts/copyrun_WF: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/copyrun_WF -------------------------------------------------------------------------------- /scripts/download_AVISO.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/download_AVISO.py -------------------------------------------------------------------------------- /scripts/download_CMEMS.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/download_CMEMS.py -------------------------------------------------------------------------------- /scripts/download_HFRadar.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/download_HFRadar.py -------------------------------------------------------------------------------- /scripts/download_hycom.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/download_hycom.py -------------------------------------------------------------------------------- /scripts/gen_bctides.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/gen_bctides.py -------------------------------------------------------------------------------- /scripts/gen_dem_contour.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/gen_dem_contour.py -------------------------------------------------------------------------------- /scripts/gen_fluxflag.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/gen_fluxflag.py -------------------------------------------------------------------------------- /scripts/gen_fluxth_USGS.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/gen_fluxth_USGS.py -------------------------------------------------------------------------------- /scripts/gen_hycom_3Dth_nudge.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/gen_hycom_3Dth_nudge.py -------------------------------------------------------------------------------- /scripts/gen_hycom_hotstart.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/gen_hycom_hotstart.py -------------------------------------------------------------------------------- /scripts/gen_narr_sflux.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/gen_narr_sflux.py -------------------------------------------------------------------------------- /scripts/gen_shapiro.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/gen_shapiro.py -------------------------------------------------------------------------------- /scripts/gen_vqs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/gen_vqs.py -------------------------------------------------------------------------------- /scripts/gplot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/gplot -------------------------------------------------------------------------------- /scripts/grd2sms: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/grd2sms -------------------------------------------------------------------------------- /scripts/hotstart_proc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/hotstart_proc.py -------------------------------------------------------------------------------- /scripts/make_sflux_links.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/make_sflux_links.py -------------------------------------------------------------------------------- /scripts/make_sflux_subdomain.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/make_sflux_subdomain.py -------------------------------------------------------------------------------- /scripts/pextract_OLDIO_schism_fabm_xyz.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/pextract_OLDIO_schism_fabm_xyz.py -------------------------------------------------------------------------------- /scripts/pextract_schism.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/pextract_schism.py -------------------------------------------------------------------------------- /scripts/pextract_schism_flux.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/pextract_schism_flux.py -------------------------------------------------------------------------------- /scripts/pextract_schism_slab.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/pextract_schism_slab.py -------------------------------------------------------------------------------- /scripts/pextract_tidal_harmonics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/pextract_tidal_harmonics.py -------------------------------------------------------------------------------- /scripts/pload_dem.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/pload_dem.py -------------------------------------------------------------------------------- /scripts/pplot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/pplot -------------------------------------------------------------------------------- /scripts/prj.npz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/prj.npz -------------------------------------------------------------------------------- /scripts/proj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/proj -------------------------------------------------------------------------------- /scripts/pschism_output_subset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/pschism_output_subset.py -------------------------------------------------------------------------------- /scripts/run.cmb_hotstart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/run.cmb_hotstart -------------------------------------------------------------------------------- /scripts/run.cmb_outputs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/run.cmb_outputs -------------------------------------------------------------------------------- /scripts/run.levante: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/run.levante -------------------------------------------------------------------------------- /scripts/run.schism: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/run.schism -------------------------------------------------------------------------------- /scripts/run_mpi_template.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/run_mpi_template.py -------------------------------------------------------------------------------- /scripts/schismcheck: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/schismcheck -------------------------------------------------------------------------------- /scripts/schismview: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/schismview -------------------------------------------------------------------------------- /scripts/sflux_template.npz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/sflux_template.npz -------------------------------------------------------------------------------- /scripts/sms2grd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/sms2grd -------------------------------------------------------------------------------- /scripts/subset_outputs_parallel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/subset_outputs_parallel.py -------------------------------------------------------------------------------- /scripts/sync_outputs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/scripts/sync_outputs -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- 1 | [metadata] 2 | description-file = README.md 3 | -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/setup.py -------------------------------------------------------------------------------- /src/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/mylib.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/src/mylib.py -------------------------------------------------------------------------------- /src/schism_file.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/src/schism_file.py -------------------------------------------------------------------------------- /tutorial.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhengui/pylibs/HEAD/tutorial.ipynb --------------------------------------------------------------------------------