How To Custom-convert Kg M-2 S-1 To Mm/day #129 - GitHub
Skip to content You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert {{ message }} r-quantities / units Public 
adrfantiniopened on Mar 20, 2018
- Notifications You must be signed in to change notification settings
- Fork 34
- Star 196
- Code
- Issues 8
- Pull requests 0
- Actions
- Projects 0
- Security
Uh oh!
There was an error while loading. Please reload this page.
- Insights
Description
I'm probably missing something really obvious, sorry in advance if this is the case. I'm trying to convert kg m-2 s-1 to mm/day, as is often the case for rain units. I can convert e.g. kg/s to mm/day, but not kg m-2 s-1:
install_conversion_constant("kg s-1", "mm/day", 86400) install_conversion_constant("mm/day", "kg s-1", 1/86400) set_units(1, "kg s-1") + set_units(1, "mm/day") ## Works install_conversion_constant("kg m-2 s-1", "mm/day", 86400) install_conversion_constant("mm/day", "kg m-2 s-1", 1/86400) set_units(1, "kg m-2 s-1") + set_units(1, "mm/day") ## Does not work: Error: cannot convert mm/d into 1/m/sActually I cannot even set:
set_units(1, "kg/m**2") Error: In ‘kg/m^2’ the numeric multiplier ‘2’ is invalid. Use `install_conversion_constant()` to define a new unit that is a multiple of another unit.While set_units(1, "kg m-2") returns the wrong thing: 1/m.
What is the correct syntax here?
Metadata
Metadata
Assignees
No one assignedLabels
No labelsNo labelsType
No typeProjects
No projectsMilestone
No milestoneRelationships
None yetDevelopment
No branches or pull requestsIssue actions
You can’t perform that action at this time.Từ khóa » Kg M2 S-1
-
Những đơn Vị đo Lường được Quy định Như Thế Nào?
-
SI Derived Unit - Wikipedia
-
Đơn Vị đo Lường Và đơn Vị đo Lường Việt Nam - GS.Trần Ngọc Thêm
-
SI Derived And SI Compatible Units - Ibiblio
-
Hà Nội, Ngày 28 Tháng 9 Năm 2001 - Bộ Khoa Học Công Nghệ
-
How To Convert Cmip5 Monthly Precipitation (kg/m2/s1) Into Mm/month?
-
Quy định Về đơn Vị đo Lường Chính Thức
-
[PDF] Parameter Units SI Units ST Dimensions Distance S Metres M S ...
-
CSDLVBQPPL Bộ Tư Pháp - Quy định Về đơn Vị đo Lường Chính Thức
-
Đơn Vị Của Năng Lượng
-
ĐỊNH NGHĨA CÁC ĐƠN VỊ CƠ BẢN SI THEO NGHỊ QUYẾT CỦA ...
-
Convert Kg M-2 S-1 To Mm/month - OnlineConversion Forums - VBulletin
-
Nghị định 134/2007/NĐ-CP đơn Vị đo Lường Chính Thức
-
What SI Unit Is The Equivalent Of ' 1 M^2 Kg/s'? - Quora