首页 星云 工具 资源 星选 资讯 热门工具
:

PDF转图片 完全免费 小红书视频下载 无水印 抖音视频下载 无水印 数字星空

NSIDC坐标转换软件

人工智能 96.03KB 10 需要积分: 1
立即下载

资源介绍:

NSIDC坐标转换软件
![NSIDC logo](/images/NSIDC_logo_2018_poster-1.png) # NSIDC Polar Stereographic Projection lon/lat conversion: polar_convert Python 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 between longitude/latitude and i, j grid coordinates for specific datasets for AMSR-E and SSM/I. ## Level of Support This repository is fully supported by NSIDC. If you discover any problems or bugs, please submit an Issue. If you would like to contribute to this repository, you may fork the repository and submit a pull request. See the [LICENSE](LICENSE) for details on permissions and warranties. Please contact 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 the requirements into a `conda` environment. ## Installation To 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's documentation](https://pip.pypa.io/en/stable/cli/pip_install/#install-editable) for more information. ## Usage See the docstrings for individual functions in [`polar_convert.py`](./polar_convert/polar_convert.py) for details. The functions 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 and latitude. 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 and latitude. ``` >>> 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] ``` ## Development See [DEVELOPMENT.md](./DEVELOPMENT.md) for information on how to contribute to this python code. ## License See [LICENSE](LICENSE), unless otherwise stated in the README file with each subdirectory. ## Code of Conduct See [Code of Conduct](CODE_OF_CONDUCT.md). ## Credit This software was developed by the NASA National Snow and Ice Data Center Distributed Active Archive Center. Author: Chris Torrence, September 2019

资源文件列表:

polarstereo-lonlat-convert-py-main.zip 大约有22个文件
  1. polarstereo-lonlat-convert-py-main/
  2. polarstereo-lonlat-convert-py-main/.flake8 294B
  3. polarstereo-lonlat-convert-py-main/.gitignore 21B
  4. polarstereo-lonlat-convert-py-main/CHANGELOG.md 29B
  5. polarstereo-lonlat-convert-py-main/CODE_OF_CONDUCT.md 3.27KB
  6. polarstereo-lonlat-convert-py-main/DEVELOPMENT.md 321B
  7. polarstereo-lonlat-convert-py-main/LICENSE 1.03KB
  8. polarstereo-lonlat-convert-py-main/README.md 4.44KB
  9. polarstereo-lonlat-convert-py-main/environment.yml 138B
  10. polarstereo-lonlat-convert-py-main/images/
  11. polarstereo-lonlat-convert-py-main/images/NSIDC_DAAC_2018_sm.jpg 28.31KB
  12. polarstereo-lonlat-convert-py-main/images/NSIDC_DAAC_2018_smv2.jpg 11.41KB
  13. polarstereo-lonlat-convert-py-main/images/NSIDC_logo_2018_poster-1.png 45.18KB
  14. polarstereo-lonlat-convert-py-main/polar_convert/
  15. polarstereo-lonlat-convert-py-main/polar_convert/__init__.py 154B
  16. polarstereo-lonlat-convert-py-main/polar_convert/constants.py 281B
  17. polarstereo-lonlat-convert-py-main/polar_convert/polar_convert.py 7.77KB
  18. polarstereo-lonlat-convert-py-main/polar_convert/test.py 1.95KB
  19. polarstereo-lonlat-convert-py-main/polar_convert/validators.py 588B
  20. polarstereo-lonlat-convert-py-main/pyproject.toml 89B
  21. polarstereo-lonlat-convert-py-main/run_tests.sh 87B
  22. polarstereo-lonlat-convert-py-main/setup.py 453B
0评论
提交 加载更多评论
其他资源 最优秀的代码生成器smartsofthelp
数据库安全优化 服务器安全优化 c#点生成,前端,后端 最好的开发者辅助工具
MemFire Cloud之微信小程序开发小游戏推箱子
推箱子游戏是一个经典的益智游戏,玩家需要控制角色将箱子推到指定的位置,以完成关卡任务。游戏场景通常是二维平面,玩家需要通过移动角色来推动箱子,避免箱子被卡住或推错位置。此示例一共有四个关卡,难度不一,需要玩家思考和规划每一步操作,提高解决问题的能力和反应速度。动画效果采用JS实现,小程序后端服务使用了MemFire Cloud,能够实现微信快速登陆,查看通过关卡最快时间。
一个为微信小程序开发准备的基础骨架
骨架特点: - 开发阶段与生产阶段分离。 - 自动化生成新页面所需文件并添加到配置中。 - 以`Standard Code Style`校验全部的`js`和`json`文件。 - 开发阶段`json`配置文件可以有注释,方便备注。 - 代码中集成部分文档内容,减少查文档的时间。 - 开发阶段可以使用`less`完成样式编码,原因你懂得~ (如果你了解这些,当然可以支持`sass`等其他预处理样式)。 - 借助`babel`自动进行`ES2015`特性转换,放心使用新特性。 - 开发阶段用`xml`文件后缀取代`wxml`后缀,避免在开发工具中配置代码高亮。 - Source Map - Travis CI
概率论:分赌注问题理论分析+matlab实现
问题描述:水平相同的两个赌徒A和B,约定先胜t局的人赢得赌注,在赌注中的某时刻,两赌徒中止赌博,此时A胜r局,B胜s局,应如何分配赌注? 分析解决:利用概率论相关知识,将具体问题抽象为数学问题,计算出理论结果。再利用matlab进行题目仿真,经多次仿真得到仿真数据。 其中,给出了具体推导过程,matlab源代码以及流程图。 重要性:赌注问题称为概率论的起源。当荷兰数学家惠更斯(Huygens,C.)到巴黎时,听说费马和帕斯卡在研究赌注问题,也进行了研究,并在1657年撰写了《论赌博中的计算》一书,提出数学期望的概念,推动了概率论的发展。
概率论:分赌注问题理论分析+matlab实现 概率论:分赌注问题理论分析+matlab实现
GooFlow JS 简化改造版
GooFlow 一个基于 Jquery/FontAwesome 的流程图/架构图画图插件,本资源是基于JS的一个版本,改造了 GooFlow JS 程序,简化了绘制工具栏和 操作工具栏引用详细页面的功能。
模拟EMI接收机的算法程序-颐 俞
版本 1.0.0 (3.5 MB) 作者: 颐 俞 模拟EMI接收机的算法程序 本程序用于将示波器的时域结果或者仿真的时域结果快速转化成平均值准峰值等接收机形式结果,进而与标准限值对标。测量成本低,速度快。 (0) 程序背景:时域波形仅FFT计算的频谱结果和EMI接收机测量的准峰值/平均值结果有显著不同。 本程序用于将示波器的时域结果或者仿真的时域结果快速转化成平均值准峰值等接收机形式结果,进而与标准限值对标。测量成本低,速度快。 本程序的核心优势:得益于简化加速,算法处理10M个时域波形点的QP检测时间仅需15秒(硬件设备为英特尔CPU i5 10400) 可参照论文:Y. Yu, X. Pei, Q. Chen, P. Zhou and D. Zhao, "A Fast Method for Predicting the Quasi-Peak Radiated EMI Spectrum of Power Converters," 2023 IEEE Energ
inconseg-85epoch.zip
haha
圣诞节的圣诞树,有html型、有exe型,还有使用python型
打开压缩包第一个是动态生成樱花python需要下载python,第二个是圣诞树.ext类型是使桌面生成一颗圣诞树,但是每次开机时会自动生成,如果需要关闭可以右键将startup关闭勾选,第三个是html型直接点开即可,后面两个都是python类型。