{"id":22752409,"url":"https://github.com/perrette/pyglacier","last_synced_at":"2025-06-27T03:35:15.736Z","repository":{"id":30124011,"uuid":"33673964","full_name":"perrette/pyglacier","owner":"perrette","description":"Utilities to help running a glacier model written in fortran (not included)","archived":false,"fork":false,"pushed_at":"2015-04-24T11:51:24.000Z","size":200,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-05T08:51:34.596Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/perrette.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-09T14:33:58.000Z","updated_at":"2015-04-24T11:51:24.000Z","dependencies_parsed_at":"2022-08-17T18:50:12.604Z","dependency_job_id":null,"html_url":"https://github.com/perrette/pyglacier","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perrette%2Fpyglacier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perrette%2Fpyglacier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perrette%2Fpyglacier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perrette%2Fpyglacier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/perrette","download_url":"https://codeload.github.com/perrette/pyglacier/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246285668,"owners_count":20752953,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-11T05:11:41.498Z","updated_at":"2025-03-30T06:44:22.231Z","avatar_url":"https://github.com/perrette.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pyglacier\n\nWrapper to run and tune the glacier model\n\nInstall\n-------\npython setup.py install\n\nGetting started\n---------------\n\n    import pyglacier\n    pyglacier.setup('/path/to/glacier/code')\n\nThe following output will be printed to screen:\n\n    ===============\n    Setup pyglacier\n    ===============\n    ...pyglacier version:  0.0.0.dev-15faa90\n    ...fortran code directory:  ../glaciercode//\n    ...fortran code version:  73b7f72\n    ...default executable:  $CODEDIR/main.exe\n    ...default glacier lib:  $CODEDIR/.obj/wrapper.so\n    ...default namelist:  $CODEDIR/params.nml\n    ...default output directory:  ./out/\n\nYou can then define a glacier class from restart file \n(or whatever netCDF file with the expected glacier fields):\n\n    gl = pyglacier.Glacier.read('path/to/restart.nc')\n    stress = gl.compute_stress()  # return a dimarray.Dataset of stress calculations\n    gl.update_velocity()  # update velocity so that stress residual is zero\n    stress2 = gl.compute_stress() # check the new stress balance\n\nThe glacier can also be defined more simply with four fields:\n\n    gl = pyglacier.Glacier(x, zb, w, h, u)\n\nand parameters can be changed:\n\n    gl.set_param(name, value, group=group) # group is only needed if param name is ambiguous\n\nA more exhaustive documentation will be made later. For now just check inline help for more information \nabout glacier methods:\n\n    help(pyglacier.Glacier)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperrette%2Fpyglacier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fperrette%2Fpyglacier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperrette%2Fpyglacier/lists"}