polarstereo-lonlat-convert-py-main.zip
大小:96.03KB
价格:10积分
下载量:0
评分:
5.0
上传者:qq_41857385
更新日期:2025-09-22

NSIDC坐标转换软件

资源文件列表(大概)

文件名
大小
polarstereo-lonlat-convert-py-main/
-
polarstereo-lonlat-convert-py-main/.flake8
294B
polarstereo-lonlat-convert-py-main/.gitignore
21B
polarstereo-lonlat-convert-py-main/CHANGELOG.md
29B
polarstereo-lonlat-convert-py-main/CODE_OF_CONDUCT.md
3.27KB
polarstereo-lonlat-convert-py-main/DEVELOPMENT.md
321B
polarstereo-lonlat-convert-py-main/LICENSE
1.03KB
polarstereo-lonlat-convert-py-main/README.md
4.44KB
polarstereo-lonlat-convert-py-main/environment.yml
138B
polarstereo-lonlat-convert-py-main/images/
-
polarstereo-lonlat-convert-py-main/images/NSIDC_DAAC_2018_sm.jpg
28.31KB
polarstereo-lonlat-convert-py-main/images/NSIDC_DAAC_2018_smv2.jpg
11.41KB
polarstereo-lonlat-convert-py-main/images/NSIDC_logo_2018_poster-1.png
45.18KB
polarstereo-lonlat-convert-py-main/polar_convert/
-
polarstereo-lonlat-convert-py-main/polar_convert/__init__.py
154B
polarstereo-lonlat-convert-py-main/polar_convert/constants.py
281B
polarstereo-lonlat-convert-py-main/polar_convert/polar_convert.py
7.77KB
polarstereo-lonlat-convert-py-main/polar_convert/test.py
1.95KB
polarstereo-lonlat-convert-py-main/polar_convert/validators.py
588B
polarstereo-lonlat-convert-py-main/pyproject.toml
89B
polarstereo-lonlat-convert-py-main/run_tests.sh
87B
polarstereo-lonlat-convert-py-main/setup.py
453B

资源内容介绍

NSIDC坐标转换软件
![NSIDC logo](/images/NSIDC_logo_2018_poster-1.png)# NSIDC Polar Stereographic Projection lon/lat conversion: polar_convertPython functions for converting polar stereographic coordinates.This repository contains conversion functions between longitude/latitude and generic x,y (km) coordinates. There are also conversion functions betweenlongitude/latitude and i, j grid coordinates for specific datasets for AMSR-Eand SSM/I.## Level of Support<b>This repository is fully supported by NSIDC.</b> If you discover any problems orbugs, please submit an Issue. If you would like to contribute to thisrepository, you may fork the repository and submit a pull request.See the [LICENSE](LICENSE) for details on permissions and warranties. Pleasecontact nsidc@nsidc.org for more information.## Requirements* Python 3.6 or higher (tested with 3.6.7 and 3.9.7)* [`numpy`](https://numpy.org/) (python library)These requirements are also included in the provided `environment.yml` file,which can be used with [conda](https://docs.conda.io/en/latest/) to install therequirements into a `conda` environment.## InstallationTo install `polarstereo-lonlat-convert-py`, clone this repo and then run:```pip install --editable /path/to/cloned/polarstereo-lonlat-convert-py```This will install the `polar_convert` package in an 'editable' development mode,allowing you to make changes to the source code in`/path/to/cloned/polarstereo-lonlat-convert-py`. See [pip'sdocumentation](https://pip.pypa.io/en/stable/cli/pip_install/#install-editable)for more information.## UsageSee the docstrings for individual functions in[`polar_convert.py`](./polar_convert/polar_convert.py) for details. Thefunctions defined in this file can be used in your own projects.### `polar_lonlat_to_xy`Convert from geodetic longitude and latitude to Polar Stereographic (X, Y)coordinates in km. Functional equivilient of[`mapll.for`](https://github.com/nsidc/polarstereo-latlon-convert-fortran/blob/main/locate/mapll.for).```>>> from polar_convert.constants import NORTH>>> from polar_convert import polar_lonlat_to_xy>>> longitude = 20 # longitude in degrees>>> latitude = 80 # latitude in degrees>>> true_scale_lat = 70 # true-scale latitude in degrees>>> re = 6378.137 # earth radius in km>>> e = 0.01671 # earth eccentricity>>> hemisphere = NORTH>>> polar_lonlat_to_xy(longitude, latitude, true_scale_lat, re, e, hemisphere)[370.2450347527368, -1017.2398726483362]```### `polar_xy_to_lonlat`Convert from Polar Stereographic (x, y) coordinates to geodetic longitude andlatitude. Functional equivilent of[`mapxy.for`](https://github.com/nsidc/polarstereo-latlon-convert-fortran/blob/main/locate/mapxy.for).```>>> from polar_convert.constants import NORTH>>> from polar_convert import polar_xy_to_lonlat>>> x = 370.25 # x coordinate in km>>> y = -1017.24 # y coordinate in km>>> true_scale_lat = 70 # true-scale latitude in degrees >>> re = 6378.137 # earth radius in km>>> e = 0.01671 # earth eccentricity>>> hemisphere = NORTH>>> polar_xy_to_lonlat(x, y, true_scale_lat, re, e, hemisphere)[20.000244645773623, 79.99998329186566]```### `polar_lonlat_to_ij`Convert from longitude and latitude to NSIDC Polar Stereographic I, J (grid)coordinates.```>>> from polar_convert.constants import NORTH>>> from polar_convert import polar_lonlat_to_ij>>> longitude = 45 # longitude in degrees>>> latitude = 85 # latitude in degrees>>> grid_size = 6.25 # in km>>> hemisphere = NORTH>>> polar_lonlat_to_ij(longitude, latitude, grid, hemisphere)[703, 936]```### `polar_ij_to_lonlat`Convert from NSIDC Polar Stereographic I, J (grid) coordinates to longitude andlatitude.```>>> from polar_convert.constants import NORTH>>> from polar_convert import polar_ij_to_lonlat>>> i = 10 # `i` is an int representing the x grid coordinate>>> j = 200 # `j` is an int representing y grid coordinate>>> grid_size = 12.5 # in km>>> hemisphere = NORTH>>> polar_ij_to_lonlat(i, j, grid, hemisphere)[183.02869857834057, 45.89915728375587]```## DevelopmentSee [DEVELOPMENT.md](./DEVELOPMENT.md) for information on how to contribute tothis python code.## LicenseSee [LICENSE](LICENSE), unless otherwise stated in the README file with each subdirectory.## Code of ConductSee [Code of Conduct](CODE_OF_CONDUCT.md).## CreditThis software was developed by the NASA National Snow and Ice Data Center Distributed Active Archive Center.Author: Chris Torrence, September 2019

用户评论 (0)

发表评论

captcha

相关资源

最优秀的代码生成器smartsofthelp

数据库安全优化服务器安全优化c#点生成,前端,后端最好的开发者辅助工具

23.16MB10积分

MemFire Cloud之微信小程序开发小游戏推箱子

推箱子游戏是一个经典的益智游戏,玩家需要控制角色将箱子推到指定的位置,以完成关卡任务。游戏场景通常是二维平面,玩家需要通过移动角色来推动箱子,避免箱子被卡住或推错位置。此示例一共有四个关卡,难度不一,需要玩家思考和规划每一步操作,提高解决问题的能力和反应速度。动画效果采用JS实现,小程序后端服务使用了MemFire Cloud,能够实现微信快速登陆,查看通过关卡最快时间。

1.53MB29积分

一个为微信小程序开发准备的基础骨架

骨架特点:- 开发阶段与生产阶段分离。- 自动化生成新页面所需文件并添加到配置中。- 以`Standard Code Style`校验全部的`js`和`json`文件。- 开发阶段`json`配置文件可以有注释,方便备注。- 代码中集成部分文档内容,减少查文档的时间。- 开发阶段可以使用`less`完成样式编码,原因你懂得~ (如果你了解这些,当然可以支持`sass`等其他预处理样式)。- 借助`babel`自动进行`ES2015`特性转换,放心使用新特性。- 开发阶段用`xml`文件后缀取代`wxml`后缀,避免在开发工具中配置代码高亮。- Source Map- Travis CI

67.94KB22积分

概率论:分赌注问题理论分析+matlab实现

问题描述:水平相同的两个赌徒A和B,约定先胜t局的人赢得赌注,在赌注中的某时刻,两赌徒中止赌博,此时A胜r局,B胜s局,应如何分配赌注?分析解决:利用概率论相关知识,将具体问题抽象为数学问题,计算出理论结果。再利用matlab进行题目仿真,经多次仿真得到仿真数据。其中,给出了具体推导过程,matlab源代码以及流程图。重要性:赌注问题称为概率论的起源。当荷兰数学家惠更斯(Huygens,C.)到巴黎时,听说费马和帕斯卡在研究赌注问题,也进行了研究,并在1657年撰写了《论赌博中的计算》一书,提出数学期望的概念,推动了概率论的发展。

177.81KB24积分